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