how can i return a image in mod python ?

Abandoned besturk at
Sat Nov 17 13:04:16 CET 2007

I want to show the pictures with mod python directly.
( it support cache and image headers)

def showimage(req):
    some process...
    open /var/www/a.jpg and print

How can i do it ?
I'm sorry for my bad english.
Kind Regards....

More information about the Python-list mailing list