Creating binary files

Snebjørn Andersen sanderse at bellesystems.com
Wed May 24 09:41:31 EDT 2000


Anders M Eriksson wrote:
> How do I create a binary file and write to it?

Take a look at the struct module, it allows you to pack binary data to
strings and save to files (and vice versa, of course!)

-- 
Snebjørn Andersen
Software Developer, Software Development
Belle Systems A/S
Tel.:   +45 5944 2500
E-mail: sanderse at bellesystems.com
Web:    http://www.bellesystems.com

Defining the Future of IP Services



More information about the Python-list mailing list