Created
July 15, 2017 19:31
-
-
Save adrian17/cb23b10af9d745b0c29a26f7468a1e1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
#data = [{"asdf": 5, "asdsdas": 12.34} for i in range(100000)] | |
with open("out.json", "r") as f: | |
data = json.load(f) | |
with open("out.json", "w") as f: | |
json.dump(data, f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment