-
Hans-Christoph Steiner authored
```python import yaml, json, glob for f in glob.glob('*.yaml'): print(f) with open(f) as fp: data = yaml.safe_load(fp) with open(f.replace('.yaml', '.json'), 'w', encoding='utf8') as fp: json.dump(data, fp, indent=2, ensure_ascii=False) ```