This commit is contained in:
2022-10-25 21:54:56 +08:00
parent 834ea19a39
commit bd945e5b86
6 changed files with 14 additions and 16 deletions

6
demo.py Normal file
View File

@@ -0,0 +1,6 @@
import os
for i in os.listdir():
with open(i, "r") as file:
things = file.read().replace("sys.exit(int(ConfigLanguareRunner.programEnv[9][1]))", "sys.exit(int(ConfigLanguareRunner.programEnv[9][1]))")
with open(i, "w") as file:
file.write(things)