Re: Import From SubFolder

2007-04-17 Thread Jorgen Bodde
>From what I know, if you place a __init__.py file in the folder that will become your subfolder, you can make it a module subfolder. Like; d:\src\app\submodule\__init__.py (can be empty file) Then in d:\src\app\main.py simply do; import submodule # use your new module like submodule.somefu

Import From SubFolder

2007-04-16 Thread Robert Rawlins - Think Blue
Chaps, Is it possible to import a module from a subdirectory in my application? I can only seem to get it to import from a single directory, but keeping all my files and classes in the same directory becomes a little sloppy. Thanks, Rob -- http://mail.python.org/mailman/listinfo/pyth