A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-May/014854.html below:

[Python-Dev] Easy codec access

[Python-Dev] Easy codec access [Python-Dev] Easy codec accessGreg Ewing greg@cosc.canterbury.ac.nz
Thu, 17 May 2001 13:49:31 +1200 (NZST)
"M.-A. Lemburg" <mal@lemburg.com>:

> You forgot the most important one ;-) ...
>
>	"print 'My first Python program'".decode("python").run()

Surely that should be:

   "'My first Python program'.encode('stdout')".decode("python").decode("run")

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



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