From bbcbba9aee9dc079bf15ee06f6f953e6d37857a7 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 15 May 2022 19:39:17 +0800
Subject: [PATCH] save project

---
 my_cloud.py | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/my_cloud.py b/my_cloud.py
index 09911f2..9e10c47 100644
--- a/my_cloud.py
+++ b/my_cloud.py
@@ -1 +1,10 @@
-import wordcloud
\ No newline at end of file
+import wordcloud
+with open('python二级考试大纲.txt',encoding='utf-8') as f:
+    text = f.read()
+
+w=wordcould.wordCloud(background_color="white",
+                      font_path='SimHei.ttf')
+
+w.generate(text)
+
+w.to_file("mycloud.png")
\ No newline at end of file
--
libgit2 0.25.0