Character encoding & the copyright symbol
philip at semanchuk.com
Thu Aug 6 21:20:48 CEST 2009
On Aug 6, 2009, at 3:14 PM, Martin v. Löwis wrote:
>> As a side note, you should probably use something other than "file"
>> the parameter name in GetFileContentsAsString() since file() is a
> Python 3.1.1a0 (py3k:74094, Jul 19 2009, 13:39:42)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> py> file
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> NameError: name 'file' is not defined
Whooops, didn't know about that change from 2.x to 3.x. Thanks.
More information about the Python-list