Really sorry for that indentation thing :)
I tried out the code you have given, and also the one sreeram had written.
In all of these,i get the same error of this type:
Error i get in Sreeram's code is:
n1,_,n2,_ = line.split(',')
ValueError: need more than 1 value to unpack

And error i get in your code is:
for n1, a1, n2, a2 in reader:
ValueError: need more than 0 values to unpack

Any ideas why this is happening?

Thanks a lot,
girish



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to