[mod_python] mod_python imports foo/__init__.py, not foo/bar.py

Fabiano Sidler fabianosidler at swissonline.ch
Sat Oct 15 20:03:21 EDT 2005

Hi folks!

When I try importing a module 'foo.bar', mod_python imports foo.__init__.py
instead of foo.bar! Why so?
Forgive me, if you think this is a silly question, but with Google I only
found unhelpful results.


More information about the Mod_python mailing list