"Jens B. Jorgensen" <[EMAIL PROTECTED]> writes:
> I dunno about .pythonrc.py. The docs I read said to put startup code in
> ~/.python-startup.py and this is what I use successfully. In order to modify
> python's
> search path from python code you just need to manipulate the sys.path list,
> eg.:
I dunno about .pythonrc.py. The docs I read said to put startup code in
~/.python-startup.py and this is what I use successfully. In order to modify
python's
search path from python code you just need to manipulate the sys.path list, eg.:
import sys
sys.path.append('path-to-append')
In order to
According to some python documentation I have read I should put
commands that I want executed in every interactive python session into
the file `~/.pythonrc.py'. I have done that but these commands do not
seem to be executed when I start python on a Debian GNU/Linux 2.1
system with
||/ Name
3 matches
Mail list logo