摘要:
2019政府工作报告.txt https://www.lanzous.com/iby44eh 栗子1: import wordcloud import jieba f=open("2019政府工作报告.txt","r",encoding="utf-8") t=f.read() f.close() l 阅读全文
posted @ 2020-04-26 13:21
木子欢儿
阅读(1402)
评论(0)
推荐(0)
摘要:
建议挂梯子安装 栗子1: import wordcloud txt="Life is stort,you need python" c=wordcloud.WordCloud(\ background_color="white") c.generate(txt) c.to_file("1.png") 阅读全文
posted @ 2020-04-26 12:12
木子欢儿
阅读(1292)
评论(0)
推荐(0)
摘要:
ls=[[1,2],[3,4],[5,6]]#二维列表 for row in ls: for column in row: print(column) 阅读全文
posted @ 2020-04-26 11:30
木子欢儿
阅读(246)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2020-04-26 11:08
木子欢儿
阅读(227)
评论(0)
推荐(0)