Python/IDLE startup

Gregor Lingl glingl at
Thu Oct 3 11:12:11 CEST 2002

Martin v. Loewis schrieb:
> Gregor Lingl <glingl at> writes:
>>1. What means do I have to get
>>certain names from certain modules
>>imported automatically at startup of
>>     a) IDLE
>>     b) the commandline Python interpreter?
> You need to set an environment variable PYTHONSTARTUP which points to
> a Python file.

This works fine with the commandline interpreter, but
it doesn't work with IDLE.

What can I do to make it work with IDLE also?

>>2. What means do I have to get (a) certain module(s) executed
>>automatically at startup?
> You add it to
> Regards,
> Martin

More information about the Python-list mailing list