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" for the parameter name in GetFileContentsAsString() since file() is a Python
function.

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.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to