From b439b79e90c1d1d85f65c0e20949cc4472fd3ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=AC=E5=B7=8D=E5=B7=9D?= Date: Thu, 18 Jun 2020 11:43:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B1=E4=BA=8Epython2=E5=92=8Cpython3?= =?UTF-8?q?=E7=9A=84print=E6=89=93=E5=8D=B0=E6=96=B9=E6=B3=95=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=EF=BC=8C=E5=B0=86=E6=89=93=E5=8D=B0=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 04-CustomLibrary/ExtensionPackages/FileLibrary/filetool.py | 1 - 1 file changed, 1 deletion(-) diff --git a/04-CustomLibrary/ExtensionPackages/FileLibrary/filetool.py b/04-CustomLibrary/ExtensionPackages/FileLibrary/filetool.py index de2e89b..8ad1ef7 100644 --- a/04-CustomLibrary/ExtensionPackages/FileLibrary/filetool.py +++ b/04-CustomLibrary/ExtensionPackages/FileLibrary/filetool.py @@ -18,6 +18,5 @@ class filetool(): data += line if(flag): data += add - print data with open(path, 'w+') as f: f.writelines(data) \ No newline at end of file