A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003615.html below:

[Python-Dev] Pasting interpreter prompts

[Python-Dev] Pasting interpreter prompts [Python-Dev] Pasting interpreter promptsSkip 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/



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4