Re: python startup files

2000-01-05 Thread Douglas Bates
"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.:

Re: python startup files

2000-01-05 Thread Jens B. Jorgensen
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

python startup files

2000-01-04 Thread Douglas Bates
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