Commit e3392d2c by BellCodeEditor

auto save

parent 29c02b49
Showing with 1 additions and 1 deletions
......@@ -9,7 +9,7 @@ with open('python二级考试大纲.txt', encoding='utf-8') as f:
txt_list = jieba.lcut(text)
text = " ".join(txt_list)
# 读取图片
img = Image.open("pkq.png")
img = Image.open("bell.png")
# 将图片RGB像素值转换成多维数组
data = numpy.array(img)
img_colors = wordcloud.ImageColorGenerator(data)
......

260 KB | W: | H:

212 KB | W: | H:

my.png
my.png
my.png
my.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