From e59f48c47947713c8a6e7d503eba50e94fec2650 Mon Sep 17 00:00:00 2001 From: NormanIsComming <133320720+NormanIsComming@users.noreply.github.com> Date: Wed, 21 May 2025 14:58:31 +0800 Subject: [PATCH] =?UTF-8?q?Update=2021.=E6=96=87=E4=BB=B6=E8=AF=BB?= =?UTF-8?q?=E5=86=99=E5=92=8C=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86.md--?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BE=AA=E7=8E=AF=E8=AF=BB=E5=8F=96=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E7=BB=84=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\222\214\345\274\202\345\270\270\345\244\204\347\220\206.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/Day21-30/21.\346\226\207\344\273\266\350\257\273\345\206\231\345\222\214\345\274\202\345\270\270\345\244\204\347\220\206.md" "b/Day21-30/21.\346\226\207\344\273\266\350\257\273\345\206\231\345\222\214\345\274\202\345\270\270\345\244\204\347\220\206.md" index 4d46f941f..595f653c2 100755 --- "a/Day21-30/21.\346\226\207\344\273\266\350\257\273\345\206\231\345\222\214\345\274\202\345\270\270\345\244\204\347\220\206.md" +++ "b/Day21-30/21.\346\226\207\344\273\266\350\257\273\345\206\231\345\222\214\345\274\202\345\270\270\345\244\204\347\220\206.md" @@ -231,7 +231,7 @@ try: data = file1.read(512) while data: file2.write(data) - data = file1.read() + data = file1.read(512) except FileNotFoundError: print('指定的文件无法打开.') except IOError: