Commit 8880993b by BellCodeEditor

save project

parent d6e88daa
Showing with 2 additions and 0 deletions
...@@ -5,3 +5,4 @@ with open("python二级考试大纲.txt",encoding="utf-8") as f: ...@@ -5,3 +5,4 @@ with open("python二级考试大纲.txt",encoding="utf-8") as f:
w=wordcloud.Wordcloud(background_color="white",font_path='Simhei.ttf') w=wordcloud.Wordcloud(background_color="white",font_path='Simhei.ttf')
w.genarate(text) w.genarate(text)
w.to_file("mycloud.png")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment