[mod_python] matplotlib and mod_python

Frank Zwaard fzwaard at gmail.com
Mon Feb 26 03:38:05 EST 2007


I usually save the figure directly in /var/www/html/myapplicationdir
using the command
savefig(filename,dpi=self.ndpi)
where filename is something like:
/var/www/html/myapplicationdir/myfilename.png

Since apache is running my script and the html tree is own by apache I
don't have any problem with  the permissions.

Let me know if you want a sample code of what I have.

Cheers

Fr


More information about the Mod_python mailing list