problem(s) with import from parent dir: "from ../brave.py import sir_robin"

plahey at alumni.caltech.edu plahey at alumni.caltech.edu
Fri Feb 24 09:28:42 EST 2006


You don't _need_ to go the PYTHONPATH route (although that works).

Re-read Carsten's post (particularly step 1, see section 6.1.1).

You can use:

sys.path.append('..')
from brave import sir_robin




More information about the Python-list mailing list