How to add a current string into an already existing list

Tim Chase python.list at tim.thechases.com
Tue Nov 5 10:45:15 EST 2013


On 2013-11-05 17:39, Nick the Gr33k wrote:
> >>> data = infile.readlines

You're assigning it to the bound function rather than calling the
function.  Use the "call" operator:

  data = infile.readlines()

-tkc





More information about the Python-list mailing list