From d7307bcf3d5e442cd88b3b2daca8aa4688a088e2 Mon Sep 17 00:00:00 2001 From: 965 Date: Sat, 27 May 2023 21:24:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A9=E5=B1=95Wordcloud=5FGUI=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- temp.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/temp.py b/temp.py index f809bdd..8b13789 100755 --- a/temp.py +++ b/temp.py @@ -1,7 +1 @@ -import chardet - -data = open(file="./resources/444.txt", mode='rb') -result = chardet.detect(data.read()) -result = result["encoding"] -print(result)