[python-win32] Setting PYTHONSTARTUP

Jens B. Jorgensen jens.jorgensen@tallan.com
Tue, 24 Dec 2002 09:06:53 -0600


Just as a sanity check have you verified that the env variable is being 
passed to python?

import os
print os.environ['PYTHONSTARTUP']


Tony Cappellini wrote:

>
> I've added the PYTHONSTARTUP variable to control panel, on Win2000,and 
> put
> a print statement in the file, so I know IF it's being executed.
> After launching PythonWin, I never see the print statement, nor the 
> effects from changing directories, which I've also added to the file 
> pointed to by PYTHONSTARTUP..
>
> Strangely enough, neither IDLE, Ipython, nor PythonW32 see the startup 
> file, so what am I doing wrong ?
>
>
> thanks
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32


-- 
Jens B. Jorgensen
jens.jorgensen@tallan.com

"With a focused commitment to our clients and our people, we deliver value through customized technology solutions"