sjb554
sjb554
I discovered it was only letters such as 'Í' and 'Ó'. My files were large, but none so large that I couldn't manually go in and replace them (largest being...
That makes sense. My download and save code is not very robust: ` def save_json(url): import os filename = url.replace('/','').replace(':','') .replace('.','|').replace('|json','.json').replace('|JSON','.json').replace('Json','.json').replace('|','').replace('?','').replace('=','').replace('&','').replace('_','').replace('-','') path = "C:/xxx/json" fullpath = os.path.join(path, filename) import urllib2...
Your fix seems to have worked perfectly. Instead of maxing out my memory, the program stayed at around 7Gb the entire time. I was able to parse json files as...