Commit eaf1051b by BellCodeEditor

save project

parent 16bdbe63
import wordcloud
w=wordcloud.WordCloud(background_color='black',font_path='SimHei.ttf')
w.generate('大哥s万巴')
w.to_file('py.png')
\ No newline at end of file
with open(file='1.txt',mode='r',encoding='utf-8')as file:
r=file.read()
w.generate(r)
w.to_file('py.png')
\ No newline at end of file

5.99 KB | W: | H:

80.9 KB | W: | H:

py.png
py.png
py.png
py.png
  • 2-up
  • Swipe
  • Onion skin
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