Newbie - converting binary data to ASCII text ?

Skip Montanaro skip at pobox.com
Sat Oct 13 09:18:26 EDT 2001


    > I'm completely new to python and I've got problem reading binary data
    > file.  When I read a file with read(), the binary data aren't
    > converted.

Check out the struct module:

    http://www.python.org/doc/current/lib/module-struct.html

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list