Commit 2bad9a87 by BellCodeEditor

save project

parent 864cd459
Showing with 2 additions and 1 deletions
...@@ -3,5 +3,5 @@ from PIL import Image ...@@ -3,5 +3,5 @@ from PIL import Image
import numpy import numpy
import jieba import jieba
w = wordcloud.WordCloud(background_color="red",font_path='SimHei.ttf') w = wordcloud.WordCloud(background_color="red",font_path='SimHei.ttf')
w.generate(python二级考试大纲.txt) w.generate(txt)
w.to_file("mycloud.png") 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