Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file = open('path_to/somefile') #Creates an iterator pointing to the first element of a file
- for line in file:
- print(line)
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement