[mod_python] does a mod_python handler exist to generatecharts/graphs? (png images)

Mike Looijmans mike.looijmans at asml.com
Tue Sep 23 08:09:59 EST 2003

You could look into other stuff, which would be partially OS specific:

- Named pipe. Works on most Unixes and on Windows NT system. Write to
something that looks "filish" to most programs but ends up into your
- Socket. Pass a (TCP) socket descriptor, with your Python program
listening, instead of a file handle to the other side.
- Memory files. Supported on some systems, a file that resides in memory.

Some of these will require a little C interfacing, but that's easy to figure


-----Original Message-----
>Since StringIO is not a file (i.e. it is not a Python object of type
>"file", it is something else that acts like a file, but only within
>Python), I think your only option is to write to a temporary file, then
>pass that file in. Take a look at Python's tempfile module (if you haven't

The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.

More information about the Mod_python mailing list