>>> q_file = open(questions_location) #opens the document successfully
>>> for line in q_file:
                print line

# prints document successfully
>>> line
# prints last line of document
>>> for line in q_file:
                print line # prints nothing

...why does it print nothing?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to