From 28619cb5d4180c9959b5e8d209e50bacecec8c7f Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 23 Oct 2022 09:45:51 +0800 Subject: [PATCH] auto save --- diy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/diy.py b/diy.py index a04bae9..ae95c03 100644 --- a/diy.py +++ b/diy.py @@ -1 +1,3 @@ -with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='otf-8') as a: \ No newline at end of file +with open(r'c:\\Users\\Administrator\\Documents\\lesson13-1\\sales_list.txt','r',encoding='otf-8') as file: + w=2.read() + print(type(a[3:5])) \ No newline at end of file -- libgit2 0.25.0