Graham Dumpleton
grahamd at dscpl.com.au
Fri May 27 05:35:31 EDT 2005
On 27/05/2005, at 5:11 PM, Damien wrote: > and my /var/www/html/index.py : > > import pylab > > from mod_python import apache > > def handler(req): > > req.write("pylab function \n") > > for i in dir(pylab): > > req.write(i) > > req.write("\n") > > pylab.figure(1) > > return apache.OK > > > > and the html output : > > pylab function __builtins__ > __doc__ > __file__ > __name__ > cm > gzip > mlab If you print out __file__ from inside the loaded module, does it actually equate to the module you are expecting to load? Is "pylab" a module file or a package directory? Graham
|