mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
13 lines
301 B
Python
13 lines
301 B
Python
from argparse import ArgumentParser
|
|
|
|
parser = ArgumentParser()
|
|
parser.add_argument("input")
|
|
parser.add_argument("output")
|
|
args = parser.parse_args()
|
|
|
|
with open(args.input, encoding="utf-8") as f:
|
|
txt = f.read()
|
|
|
|
with open(args.output, 'w', encoding="shift-jis") as f:
|
|
f.write(txt)
|