Pickle a file object
Guyon Morée
gumuz at looze.net
Mon Dec 2 18:19:55 EST 2002
and lets'say i'd want to embed binary files, images (eg. jpg) into my file?
not storing a link to a location on the harddrive.
can i read and store the contents of binary files?
guyon
"Michael Stenner" <mstenner at phy.duke.edu> wrote in message
news:mailman.1038859287.26355.python-list at python.org...
> I suggest you pickle the "important" information about the file.
> What's "important" depends on your application. It may simply by the
> file name. It may be the modes with which the file was opened. it
> may include your current position within the file [fo.tell()] and so
> on.
More information about the Python-list
mailing list