J
Jan Kanis
Hello everyone,
I'm trying to change the interactive python prompt. According to the docs
this is done by changing sys.ps1 and sys.ps2 . That works fine when
running python interactively from a command line, but when running in IDLE
the .ps1 and .ps2 don't seem to exist.
I suppose this has something to do with Idle and the python shell in it
both running in different processes, with the prompts generated by the
Idle process?
Does anyone know if and how to change the prompts in IDLE's interactive
python?
Jan
I'm trying to change the interactive python prompt. According to the docs
this is done by changing sys.ps1 and sys.ps2 . That works fine when
running python interactively from a command line, but when running in IDLE
the .ps1 and .ps2 don't seem to exist.
I suppose this has something to do with Idle and the python shell in it
both running in different processes, with the prompts generated by the
Idle process?
Does anyone know if and how to change the prompts in IDLE's interactive
python?
Jan