A blog about the use of educational technology in language learning and teaching
1)
f = open( "rockyou.txt", "r" ) for line in f: print line
f = open( "rockyou.txt", "r" )
for line in f:
print line
2)
with open("rockyou.txt", 'r') as f: for line in f: print line
No comments:
Post a Comment