How to add a current string into an already existing list

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Nov 6 03:53:02 EST 2013


On 06/11/2013 05:36, Dave Angel wrote:
> On Tue, 5 Nov 2013 09:45:15 -0600, Tim Chase
> <python.list at tim.thechases.com> wrote:
>> You're assigning it to the bound function rather than calling the
>> function.  Use the "call" operator:
>
>>   data = infile.readlines()
>
> Thanks for spoiling the lesson. Nicks needs to learn how to debug 4 line
> programs without someone giving him the answer.
>

He needs to learn on short, consise programs before moving up to the 
medium size 4 liners.

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence




More information about the Python-list mailing list