Added hint about changing the prompt in $PYTHONSTARTUP

This commit is contained in:
Guido van Rossum 1992-09-08 09:20:13 +00:00
parent aee087946d
commit 7b3c8a1422
2 changed files with 4 additions and 0 deletions

View File

@ -302,6 +302,8 @@ explicit source of commands (which otherwise behaves like an
interactive session). It is executed in the same name space where interactive session). It is executed in the same name space where
interactive commands are executed, so that objects that it defines or interactive commands are executed, so that objects that it defines or
imports can be used without qualification in the interactive session. imports can be used without qualification in the interactive session.
You can also change the prompts {\tt sys.ps1} and {\tt sys.ps2} in
this file.
If you want to read an additional start-up file from the current If you want to read an additional start-up file from the current
directory, you can program this in the global start-up file, e.g. directory, you can program this in the global start-up file, e.g.

View File

@ -302,6 +302,8 @@ explicit source of commands (which otherwise behaves like an
interactive session). It is executed in the same name space where interactive session). It is executed in the same name space where
interactive commands are executed, so that objects that it defines or interactive commands are executed, so that objects that it defines or
imports can be used without qualification in the interactive session. imports can be used without qualification in the interactive session.
You can also change the prompts {\tt sys.ps1} and {\tt sys.ps2} in
this file.
If you want to read an additional start-up file from the current If you want to read an additional start-up file from the current
directory, you can program this in the global start-up file, e.g. directory, you can program this in the global start-up file, e.g.