help on Implementing a list of dicts with no data pattern

Neil Cerutti neilc at norwich.edu
Fri May 10 08:54:43 EDT 2013


On 2013-05-09, Dave Angel <davea at davea.name> wrote:
> On 05/09/2013 05:22 PM, rlelis wrote:
>> On Thursday, May 9, 2013 7:19:38 PM UTC+1, Dave Angel wrote:
>>
>> Yes it's a list of string. I don't get the NameError: name 'file_content' is not defined in my code.
>
> That's because you have the 3 lines below which we hadn't seen yet.

Heroic efforts, Dave!

To rlelis:

Do not start to program until you understand what you want to do.
Work it out on a sheet of paper, or at least in your mind.

If you can't provide sample input and the expected output from
it, chances are you aren't ready to start writing code.

-- 
Neil Cerutti



More information about the Python-list mailing list