python spanner

python reverse list

1
for filename in reversed(glob_result):

json

1
2
3
4
5
6
7
8
9
10
data = {}
output_json = {}
with open(json_file_name) as data_file:
data = json.load(data_file)

for (filename, person_json) in data.iteritems():
print filename, person_json

with open(out_filename, 'w+') as f:
json.dump(output_json, f)
请作者喝一杯咖啡☕️