1234567891011121314 |
- import os
- import glob
- import sys
- import romkan
- os.chdir(sys.argv[1])
- for f in glob.glob("*.wav"):
- f2 = romkan.to_roma(f)
- os.rename(f,f2)
-
- oto = open("oto.ini",encoding="sjis").read()
- oto = romkan.to_roma(oto)
- open("oto.ini","w").write(oto)
|