How to save a binary file?

hidura at hidura at
Tue Oct 5 23:11:07 CEST 2010

Hello, how i can save a binary file, i read in the manual in the IO area  
but doesn' t show how to save it.
Here is the code what i am using:
s = open('/home/hidura/test.jpeg', 'wb')

If needs the binary code i could upload.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list