[Tutor] Importing from directories below yourself...

lawrence wang levity at gmail.com
Tue Jun 21 17:15:17 CEST 2005

Say I have a directory tree like this:

- bar
 -- quux.py
- baz
 -- glonk.py

>From within glonk.py, how do I import quux.py? I've tried going to
foo, running baz/glonk.py, and using "from bar import quux", but this
doesn't seem to work.

Thanks in advance!

More information about the Tutor mailing list