how to change sys.path?
Michael Yanowitz
m.yanowitz at kearfott.com
Thu May 25 08:00:55 EDT 2006
Is there something like a .pythoninitrc which can run whenever we start
Python
that can load a file with many sys.path.append(), etc?
If not is there some way to modify the Python shell constructor and
destructor?
Thanks in advance:
Michael yanowitz
-----Original Message-----
From: python-list-bounces+m.yanowitz=kearfott.com at python.org
[mailto:python-list-bounces+m.yanowitz=kearfott.com at python.org]On Behalf
Of per9000
Sent: Thursday, May 25, 2006 4:07 AM
To: python-list at python.org
Subject: Re: how to change sys.path?
also se topic named
'problem(s) with import from parent dir: "from ../brave.py import
sir_robin" '
I use this every day now:
sys.path.append("../../py_scripts")
best wishes,
Per
More information about the Python-list
mailing list