Prepare database

This commit is contained in:
WQY\qiong
2022-11-18 22:17:33 +08:00
parent 7c3d274817
commit 0b180af5d5

View File

@@ -1,10 +1,15 @@
from tjnetwork import *
# bwsn fail to update control ...
file = 'fengxian'
files = [
'exnet',
'fengxian',
'jbh',
'net3'
]
def inp2db():
read_inp(file, f'./inp/{file}.inp')
for file in files:
read_inp(file, f'./inp/{file}.inp')
if __name__ == '__main__':
inp2db()