Tkinter.PhotoImage data for dynamic CGI .gif without writing to file?
Will Stuyvesant
hwlgw at hotmail.com
Sat Dec 28 05:43:32 EST 2002
[Bengt Richter]
> Maybe the StringIO module will help you. I.e., use an instance instead of a file).
I have been using StringIO and friends for redirecting sys.stdout
etcetera. But in this case there is a Tkinter.PhotoImage.write()
method and I have no idea how to redirect it. As far as I can tell it
wants a string parameter that is a filename.
More information about the Python-list
mailing list