Lawrence Kesteloot noted: Lib/user.py has a comment that says that the

script pointed to by PYTHONPATH will be executed on startup.  That
should say PYTHONSTARTUP.
This commit is contained in:
Guido van Rossum 2000-03-30 15:00:33 +00:00
parent bdcc96c9e3
commit bf45322b3d
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
As a policy, Python doesn't run user-specified code on startup of
Python programs (interactive sessions execute the script specified in
the PYTHONPATH environment variable if it exists).
the PYTHONSTARTUP environment variable if it exists).
However, some programs or sites may find it convenient to allow users
to have a standard customization file, which gets run when a program