[python-win32] Setting PYTHONSTARTUP
Sun, 29 Dec 2002 19:08:15 -0800
> >>Just as a sanity check have you verified that the env variable is being
> passed to python?
> >>import os
> >>print os.environ['PYTHONSTARTUP']
Yes. PythonWin see's the file I've created which is specified by this variable.
But the effects are not seen.
Any suggestions ?
>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 ?
>>Python-win32 mailing list
>Jens B. Jorgensen
>"With a focused commitment to our clients and our people, we deliver value
>through customized technology solutions"