diff --git a/diy.py b/diy.py index afbf12a..38bdb11 100644 --- a/diy.py +++ b/diy.py @@ -1 +1,4 @@ -#'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt' \ No newline at end of file +#'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt' +with open(r'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt',"r",encoding="utf-8") as f: + qing = f.read() + print(qing) \ No newline at end of file