Commit 528aaf78 by BellCodeEditor

save project

parent 6b1fbc15
Showing with 8 additions and 2 deletions
1.png

80.3 KB

File added
import wordcloud import wordcloud
\ No newline at end of file w=wordcloud.WordCloud(background_color=(0,0,0),font_path='SIMKAI.TTF')
f=open("python二级考试大纲.txt","r",encoding="utf-8")
t123=f.read()
w=w.generate(t123)
w=w.to_file("1.png")
f.close()
\ 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