delete Redundant File

This commit is contained in:
IFRFSX 2020-03-02 22:24:39 +08:00
parent b371f1746d
commit ef8cf1cdb5

View file

@ -1,25 +0,0 @@
#!/usr/bin/python3
# -*- coding:utf-8 -*-
#作者冰枫火灵X<1079092922@qq.com>
#许可:仅保留署名权
import os
print("欢迎使用")
fn = str(input("Mod tr文件名称不包括.zh_CN.tr"))+".zh_CN.tr"
if os.access(fn,os.F_OK):
pass
else:
print("文件不存在.")
x = input("END.")
os._exit(0)
fn2 = str(fn.replace("CN","TW"))
os.system("opencc -c s2tw -i {0:s} -o {1:s}".format(fn,fn2))
x = input("END.")
os._exit(0)