Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = open('file.txt').readlines()
- b = iter(a)
- while True:
- try:
- print(next(b))
- except:
- b = iter(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement