

# https://www.globalsino.com/ICs/page4853.html
# Remove all the lines before and after the starting text



with open(r"C:\GlobalSino\ICs\ExampleFiledUsedINtestingPython\Company.txt", 'r') as rf:
    with open(r"C:\GlobalSino\ICs\ExampleFiledUsedINtestingPython\Company_updated.txt", 'w') as wf:
        for line in rf:
            if line.startswith("GlobalSino"):
                line=line + "Google\n"
                wf.write(line)



