Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for line in open("myfile.txt") :
- print line.rstrip('n') # .rstrip('n') removes the line breaks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement