From: fredrik at pythonware.com (Fredrik Lundh)
Date: Fri, 14 May 1999 09:20:22 GMT
Subject: Running a file, with a relative filename
References: <926371468snz@vision25.demon.co.uk> <926634830snz@vision25.demon.co.uk>
Message-ID: <009001be9ded$06223e30$f29b12c2@pythonware.com>
X-UID: 1828                                                 

Phil Hunt wrote:
> Is there a way of saying ``import "../yyy/prog2.py"''?

sys.path.insert(0, "../yyy")
import prog2

</F>





