A bit of a funny one: I have a Fasthosts website and I try to read a json file from my PC with an extremely simple python script. If I execute the script a few times, it kills the website for a few minutes. Any idea where the problem comes from? (Fasthosts claim it has nothing to do with them)
Python Script:
JSON_PATH="http://blabla.co.uk/xxx/toto_db1.json" json_local = urllib2.urlopen(JSON_PATH).read() parsed_json = json.loads(json_local) all_dates = [] for data in parsed_json: all_dates.append(data["form_date"]) print all_dates[0]
Thanks. Regards. Ju.
2.1m questions
2.1m answers
60 comments
57.0k users