justalphie commited on
Commit
712efbd
·
1 Parent(s): 3c10c7a

convert file

Browse files
Files changed (1) hide show
  1. convert_file.py +6 -0
convert_file.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import sys, yaml, json
2
+ with open('sections_with_details.json', 'r') as json_file:
3
+ data = json.load(json_file)
4
+
5
+ with open('sections_with_details.yaml', 'w') as yaml_file:
6
+ yaml.dump(data, yaml_file)