Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. doc_file=open('1952-0.txt','r')
  2.  
  3. doc_file=str(doc_file.read())
  4.  
  5. for line in doc_file:
  6. doc_file=line.replace('-',' ')
  7. doc_file=line.replace("'",'')
  8. doc_file=line.replace('_',' ')
  9.  
  10. print(doc_file)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement