importing modules from higher level directory

Nathan Huesken python at lonely-star.org
Fri Jun 25 17:20:25 EDT 2010


Hi,

Is it somehow possible to import modules from *.py files in a higher
level directory?
Intuitively I would do

import ../module

but that does not work.
How does it work?

Thanks!
Nathan



More information about the Python-list mailing list