[mod_python] Newbie question: Custom module path not taken over by importer

Graham Dumpleton graham.dumpleton at gmail.com
Thu Dec 6 17:40:55 EST 2007

On 07/12/2007, Pascal Opitz <pascal at ilikecode.co.uk> wrote:
> Hi Graham,
> thanks for getting back.
> At the moment it is a folder with an __init__.py file, which has just
> the hello world method in there.
> Creating an __init__.py file should identify the folder as module, right?

No. A directory which contains a __init__.py makes it a package.

Maybe have a read through:


I quickly Google'd it up, but think it describes the differences.

Please use reply-all to keep replies on the list. Thanks.


> > The mod_python module importer cannot be used on Python packages, only
> > Python modules. Is your software a package or a module.
> >
> > Graham
> >

More information about the Mod_python mailing list