Hello I'm sure there's a much easier way to read a two-column, CSV file into an array, but I haven't found it in Google.
Should I use the Array module instead? ========= a = [] i = 0 #item<TAB>item<CRLF> p = re.compile("^(.+)\t(.+)$") for line in textlines: m = p.search(line) if m: a[i,0] = m.group(1) a[i,1] = m.group(2) i = i + 1 for i in a.count: for j in 2: print a[i,j] ======= Thank you. -- http://mail.python.org/mailman/listinfo/python-list