main → init
This commit is contained in:
parent
204ef539fc
commit
331f39e157
5 changed files with 153 additions and 127 deletions
18
doc.py
18
doc.py
|
@ -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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue