10 lines
No EOL
198 B
Python
10 lines
No EOL
198 B
Python
import json
|
|
import ox
|
|
|
|
f = open('../json/countries.json')
|
|
data = json.loads(f.read())
|
|
f.close()
|
|
|
|
f = open('../json/countries.json', 'w')
|
|
f.write(json.dumps(data, indent=4, sort_keys=True))
|
|
f.close() |