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.

After i appended the headers i wanted to cut the data list it little bit more 
because there was some data (imagine some other collumns) to the left that 
didn't needed.

file_content = []
for d in data:
    file_content.append(d[1:])

from this point on i've showed the code,
highway_dict = {} 
aging_dict = {} 
queue_counters={} 
queue_row = [] 
for content in file_content: 
        if 'aging' in content: 
                # aging 0 100
                # code here
 
etc, etc
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to