Project for the Hybrid Publishing thesis award of 2018. By Julie Boschat Thorez and Cristina Cochior. https://www.wdka.nl/work/sic-scripture http://51.255.169.99:8080/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
368 B

import json
# Using readlines()
fileslist = open('0-listoffiles.txt', 'r')
Lines = fileslist.readlines()
fileoutput = open('alllines.txt','a')
# Strips the newline character
for line in Lines:
fileoutput.write(line)
with open('mergedjson.json') as jsonfile:
data = json.load(jsonfile)
for f in data:
file = f["debrispath"]
fileoutput.write(file+"\n")