websoft9/cli/test.py
chendelin1982 be8dbf112a test
2021-10-11 20:23:46 +08:00

10 lines
179 B
Python

import model,re
env = {}
fileop=model.FileOp()
env = fileop.fileToJson('c2/.env')
for key,value in env.items():
if re.match(pattern,key,re.I) != None:
print(value)