
# https://www.globalsino.com/ICs/
# Read a text file into a string variable


file = open(r'C:\0Python\Feb-19-2023_WebPage.txt', "r")
lines = file.readlines()
textContents = ''                                   

for i in range(len(lines)):
    textContents += lines[i].rstrip('\n') + ' '

print("The string of 'textContents' is: \n")
print(textContents)



    
