

# https://www.globalsino.com/ICs/page4853.html
# Relace one word by another 


MyList = []

with open ('C:\GlobalSino2\ICs\page4812i.txt', 'r') as f:
    for line in f.readlines():
        MyList.append(line)

Remove_colon = []
for i in MyList:
    Go_For_It = i.replace('Yougui', 'Liao')
    Remove_colon.append(Go_For_It)
with open (r'C:\GlobalSino2\ICs\page4812ii.txt', 'w', encoding = 'utf-8') as MyNewFILEi:
    for ii in Remove_colon:
        MyNewFILEi.write(ii + '\n')


