04 2020 档案
摘要:代码 import wordcloudimport jieba f=open("gcd宣言.txt","r",encoding="utf-8")t=f.read()f.close()txt=" ".join(jieba.lcut(t))w=wordcloud.WordCloud(font_path=
阅读全文
摘要:https://www.w3school.com.cn/index.html 这是一个名叫W3school的TML教程网站,这上面对HTML讲解非常好,感兴趣的可以去看看哦。
阅读全文
摘要:python join 和 split方法简单的说是:join用来连接字符串,split恰好相反,拆分字符串的。 .join() join将 容器对象 拆分并以指定的字符将列表内的元素(element)连接起来,返回字符串(注:容器对象内的元素须为字符类型) 1 2 3 4 >>> a = ['no
阅读全文