[mod_python] Module Import

Victor Tortorello Neto neto at visuaw.net
Thu Jul 1 03:48:20 EDT 2004


Hey!

I am trying to quit web site development with PHP, and start the development with to mod_python.
I have some experience with Python, but I can't import a module from the index.py.

I've created a module named 'sitelib' (it's a folder with __init__.py with some stuff) and I want to use "import sitelib", but it don't works.

How can I import this module without put "<Directory /www/...> PythonPath .... </Directory>" in httpd.conf?

Thanks!

Victor Tortorello Neto
neto at visuaw.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://modpython.org/pipermail/mod_python/attachments/20040701/3b07907b/attachment.html


More information about the Mod_python mailing list