with open(r"C:\Users\Administrator\Desktop\book.txt",'r',encoding='utf-8')as file: a=file.readlines() for i in a: print(i)