How to add a current string into an already existing list

Tim Chase python.list at
Tue Nov 5 16:45:15 CET 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()


More information about the Python-list mailing list