Commit 97e1956b by BellCodeEditor

auto save

parent a3070bb6
Showing with 2 additions and 2 deletions

184 KB | W: | H:

65.9 KB | W: | H:

i.png
i.png
i.png
i.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -3,11 +3,11 @@ from PIL import Image ...@@ -3,11 +3,11 @@ from PIL import Image
import numpy import numpy
import jieba import jieba
with open('python二级考试大纲.txt','r',encoding='utf_8') as f: with open('ikun.txt','r',encoding='utf_8') as f:
a = f.read() a = f.read()
text = jieba.lcut(a) text = jieba.lcut(a)
a=''.join(text) a=''.join(text)
img=Image.open('bell.png') img=Image.open('1000.webp')
data = numpy.array(img) data = numpy.array(img)
stopwords=['基本','python','的','和','程序'] stopwords=['基本','python','的','和','程序']
img_color=wordcloud.ImageColorGenerator(data) img_color=wordcloud.ImageColorGenerator(data)
......
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