Revision 885220d49eee1f04cd6493cc69acd72684c59e05 authored by Sebastian Bank on 15 November 2020, 15:52:34 UTC, committed by Sebastian Bank on 15 November 2020, 15:52:34 UTC
1 parent 92ca996
try-examples.py
#!/usr/bin/env python
# try-examples.py - import graphviz here and run all scripts in the example dir
import os
import io
import glob
import graphviz # noqa: F401
os.chdir('examples')
for filename in glob.iglob('*.py'):
with io.open(filename, encoding='utf-8') as fd:
code = fd.read()
exec(code)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...