Skip to content

Instantly share code, notes, and snippets.

@protorob
Created March 22, 2019 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save protorob/d06c2c27c845259efd6e9f2ea2dc033d to your computer and use it in GitHub Desktop.
Save protorob/d06c2c27c845259efd6e9f2ea2dc033d to your computer and use it in GitHub Desktop.
import html
just_open = open('art.csv', 'r')
output_file = open('freshnclean.csv', 'w')
i = 0
for row in just_open:
if (i >= 0 and i < 5000):
lariga = html.unescape(row)
print(lariga)
output_file.write(lariga)
i+=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment