Problem importing packages

Alban Hertroys alban at magproductions.nl
Wed Apr 28 06:28:54 EDT 2004


Alban Hertroys wrote:
> I'm trying to create a package containing a number of classes I made, 
> but I can't get it to work...
> 
> My package is structured like this:
> 
>     X/
>         __init__.py

Doh! I named it __init.py__ instead...
It DOES work using __init__.py.



More information about the Python-list mailing list