On 2013-05-09, Dave Angel <da...@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 -- http://mail.python.org/mailman/listinfo/python-list