main → init

This commit is contained in:
Marc Beninca 2023-10-17 10:01:56 +02:00
parent 204ef539fc
commit 331f39e157
5 changed files with 153 additions and 127 deletions

18
doc.py
View file

@ -1,13 +1,7 @@
import os
import subprocess
if __name__ == '__main__':
root = os.path.dirname(__file__)
file = os.path.join(root, 'todo')
subprocess.run([
'dot',
f'{file}.gv',
'-T', 'svg',
'-o', f'{file}.svg',
])
import os
import sys
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
#
import lsgm
lsgm.main(__file__)