# Get JSON Data rcomp = requests.get(urlcomp, headers=headers) # Write to .CSV f = open('C:\_PythonTwo ewfile.csv', "w") f.write(rcomp.text) f.close()
help(csv)