harold wrote: > Thank you Gerard. > This must be the problem. Now I can get it working.
Good! I got confused thinking about it too, but I think you just had one loop too many. for line in sys.stdin : try : a,b,c,d = line.split() not: for line in sys.stdin : try : for a,b,c,d in line.split() : pass Gerard -- http://mail.python.org/mailman/listinfo/python-list