Commit 5b920d16 by BellCodeEditor

save project

parent 2f2bf6ba
Showing with 4 additions and 0 deletions
......@@ -5,3 +5,6 @@ with open('python二级等级考试大纲.txt', encoding='utf-8')as f:
w = wordcloud.WordCloud(backgroud_color="white")
w.generate("hello word")
w.to_file("mycloud.png")
img = Image.open("bell.png")
data = numpy.array(img)
img_colors = wordcloud.ImageColorGenerator(data)
\ 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