Commit 1d8cae71 by BellCodeEditor

auto save

parent 1b97b28d
Showing with 3 additions and 2 deletions
import wordcloud
w=wordcloud.WordCloud(background_color='white',font_path='SinHei')
w=wordcloud.WordCloud(background_color='white',font_path='SimHei')
f=open('python二级考试大纲.txt','r',encoding='utf-8')
t=f.read()
f.close()
t=str(t)
t=str(f)
w.generate(t)
w.to_file('t.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