Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. file = open('newfiles.txt', 'r')
  2. with open('newfiles.txt','r') as file:
  3. for line in file:
  4. for word in line.split():
  5. print(word)
  6.  
  7. They
  8. say
  9. it's
  10. a
  11. dog's
  12. life,.....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement