On Oct 10, 7:17 pm, amit <[EMAIL PROTECTED]> wrote: > How do create my own modules and import them? Right now it works but > they all have to be in the same directory. For example, > > project/ > ....util/ > ....config/ > ....tests/ > ....start.py >
You need an __init__.py file (it doesn't matter if it's empty) in the directory to turn it into a package. http://www.python.org/doc/2.5.2/tut/node8.html#SECTION008400000000000000000 HTH. ... Jay Graves -- http://mail.python.org/mailman/listinfo/python-list