windows to linux pickled objects?

Oleg Broytmann phd at phd.pp.ru
Wed Nov 28 14:32:48 CET 2001


On Wed, Nov 28, 2001 at 07:22:20AM -0600, Stephen Boulet wrote:
> > outfile = open(filename, 'wb')
> > outfile.write(pickle)
> > outfile.close()
> > 
> But is writing in binary mode supported under linux?

   On UNIX binary mode is exactly the same as text mode, 'b' is just
ignored for compatibility.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list