[Solved] importing modules at IDLE startup

2009-11-18 Thread Frederic Baldit
Le lundi 16 novembre 2009 à 16:09 -0800, Mark Voorhies a écrit : > A good way to test the environment that python/idle is seeing is: > import os > os.environ["PYTHONSTARTUP"] Here are the results: >>> import os >>> os.environ["PYTHONSTARTUP"] '/home/fred/.pythonrc.py' So for me the variable is c

Re: importing modules at IDLE startup

2009-11-16 Thread Mark Voorhies
On Monday 16 November 2009 2:27 pm Frederic Baldit wrote: > Le lundi 16 novembre 2009 à 13:15 -0800, Mark Voorhies a écrit : > > > One such hackish solution is to use a modified version > > of /usr/bin/idle-python2.5 that invokes the python interpreter with "new" > > division, e.g.: > >

importing modules at IDLE startup

2009-11-16 Thread Frederic Baldit
Le lundi 16 novembre 2009 à 13:15 -0800, Mark Voorhies a écrit : > One such hackish solution is to use a modified version > of /usr/bin/idle-python2.5 that invokes the python interpreter with "new" > division, e.g.: > > #!/usr/bin/python2.5 -Qnew > > from id