[Python-Dev] Pasting interpreter prompts
Skip Montanaro
skip@mojam.com (Skip Montanaro)
Mon, 17 Apr 2000 16:47:30 -0500 (CDT)
Ping> One gripe that i hear a lot is that it's really difficult to cut
Ping> and paste chunks of Python code when you're working with the
Ping> interpreter because the ">>> " and "... " prompts keep getting in
Ping> the way. Does anyone else often have or hear of this problem?
First time I encountered this and complained about it Guido responded with
import sys
sys.ps1 = sys.ps2 = ""
Crude, but effective...
--
Skip Montanaro | http://www.mojam.com/
skip@mojam.com | http://www.musi-cal.com/