Thanks for all the responses guys. I was actually able to figure out the
infile = open('infilename.txt', 'r')
for line in infile:
Just wasn't sure if it was Pythonic or not.
Had no clue about the
line = line.rstrip('\n')
so thanks again. I'll get to reading those links.
P.S.
David, I'm sure you're right. I'll eventually learn both.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
