Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('data1.txt', 'w', encoding='latin_1') as output:
- with open('data.txt', 'r', encoding='latin_1') as input:
- for line in input:
- new_line = line+','
- output.write(new_line)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement