mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
快捷键功能GUI初步
This commit is contained in:
9
key/replace.py
Executable file
9
key/replace.py
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/python3
|
||||
import os
|
||||
import sys
|
||||
file = open(sys.argv[1], "r")
|
||||
things = file.read().replace(sys.argv[2], sys.argv[3])
|
||||
file.close()
|
||||
file = open(sys.argv[1], "w")
|
||||
file.write(things)
|
||||
file.close()
|
||||
Reference in New Issue
Block a user