git.schokokeks.org
Repositories
Help
Report an Issue
fs-words.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
cf933a3
Branches
Tags
develop-client_server
master
typescript
fs-words.git
tools
merge.py
tools
Christian Fraß
commited
cf933a3
at 2017-04-17 22:50:38
merge.py
Blame
History
Raw
#!/usr/bin/env python3 import os as _os import json as _json def main(): data = [] folder = "concepts/json" for name in sorted(_os.listdir(folder)): path = _os.path.join(folder, name) handle = open(path, "r") content = handle.read() handle.close() entry = _json.loads(content) data.append(entry) print(_json.dumps(data)) main()