Commit 6fbad868 by BellCodeEditor

save project

parent 17d683a0
Showing with 7 additions and 2 deletions
import wordcloud import wordcloud
w = wordcloud.WordCloud(background_color="white") with open('python',encoding='utf-8') as f:
w.generate("hello word")
w = wordcloud.WordCloud(background_color="white",font_path='SimHei.ttf')
w.generate(text)
w.to_life("mycloud.png") w.to_life("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