Running a file, with a relative filename
Fredrik Lundh
fredrik at pythonware.com
Fri May 14 05:20:22 EDT 1999
Phil Hunt wrote:
> Is there a way of saying ``import "../yyy/prog2.py"''?
sys.path.insert(0, "../yyy")
import prog2
</F>
More information about the Python-list
mailing list