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/2005-September/056070.html below:

[Python-Dev] Replacement for print in Python 3.0

[Python-Dev] Replacement for print in Python 3.0 [Python-Dev] Replacement for print in Python 3.0skip@pobox.com skip at pobox.com
Sat Sep 3 00:12:53 CEST 2005
    Steven> Obviously print is used by the rest of us too -- I count around
    Steven> 5000 instances in my installation.  However, I only count around
    Steven> 400 instances where a "print" line ends with a comma.

I took a quick look at my own code:

    980 active print statements
    110 active print statements with trailing commas
     67 active print statements with output redirection
      6 active print statements with trailing commas and output redirection
     64 inactive print statements
      4 inactive print statements with trailing commas
      6 inactive print statements with output redirection
      1 inactive print statement with trailing commas and output redirection

so more than 10% of the print statements in my code use the trailing comma
feature and more than 5% use output redirection.  I suspect the discrepancy
between use of the two features would be less if output redirection had been
available from the start.

Skip
More information about the Python-Dev mailing list

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