File size: 236 Bytes
1a3c007
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import sys
import pyewts


converter = pyewts.pyewts()
path = sys.argv[1]
result = ""

for line in open(path, "r"):
    line = converter.toWylie(line)
    result += line


with open(path,"w") as outfile:
    outfile.write(result)