You're never reading your file... you're literally trying to read from sys.stdin. This is wrong and I think you may have misunderstood your prof.
You need to open the file via open(file_name, mode) ... then read from there....
Last edited by jlm699; Sep 2nd, 2008 at 11:40 pm.
Reputation Points: 355
Solved Threads: 292
Veteran Poster
Offline 1,102 posts
since Jul 2008