image from URL
Oleg Broytmann
phd at phd.pp.ru
Thu Oct 11 07:05:36 EDT 2001
On Thu, Oct 11, 2001 at 06:01:48AM -0500, Randy Heiland wrote:
> fp = __builtin__.open(fp, "rb")
> TypeError: open() argument 1 must be (encoded string without NULL bytes), not
> str
Please continue to answer to newsgroup.
So you have a minor problem - Image expects filename. So, save fp.read()
to a file, and pass its filename to Image.
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