Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import json
json_file = json.load(open("temp.json"))
result = "" # resulting string
for x in json_file["files"]:# "files" for key value that is assigned to
# the file array
chapter_file = open(x)
result +=
# open output_file, write out, flush buffer to complete write and close
output_file = open("","w")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.