[Tutor] PYTHONSTARTUP in PythonWin

alan.gauld@bt.com alan.gauld@bt.com
Sun Nov 3 18:38:02 2002


> Yes.. this is the problem. I'm using Python interactively and 
> the startup file doesn't execute.

Maybe not.
You mentioned using pythonwin...
ISTR Pythonwin implements its own interactive mode. It doesn't use 
the Python one... If it doesn't read startup.py you'd see what you 
see - check the Pythonwin IDE docs. Also try IDLE to see if it 
reads startup.

Also I guess try starting Python from a DOS prompt to check it 
sees your startup - that should definitely work.

Alan g