Embedding a binary file in a python script

Diez B. Roggisch deets at nospam.web.de
Wed Feb 15 12:07:37 EST 2006


mrstephengross wrote:

> Ok, this is a neat idea... The uu module deals with files though, not
> strings. Is there a way in python to make a string act like a file
> handle?

(c)?StringIO

Diez



More information about the Python-list mailing list