help on Implementing a list of dicts with no data pattern

rlelis ricardo.lelis3 at gmail.com
Thu May 9 12:14:14 EDT 2013


On Thursday, May 9, 2013 12:47:47 AM UTC+1, rlelis wrote:
@Dave Angel
this is how i mange to read and store the data in file.
data = []
# readdata
f = open(source_file, 'r')
for line in f:
        header = (line.strip()).lower()
        # conditions(if/else clauses) on the header content to filter desired data 
        data.append(header)



More information about the Python-list mailing list