what directory does open() use by default?
I'm trying to do this:
for line in open('some.txt'):
and it's saying the file is not found. I have the file in the same
direction as my python program. what's wrong? I thought it checked the
directory to be
No comments:
Post a Comment