mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-12 17:48:27 +08:00
9 lines
199 B
Python
Executable File
9 lines
199 B
Python
Executable File
#!/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() |