摘要: 1.简单版 https://blog.csdn.net/zhuzuwei/article/details/80487032 2.复杂版 https://blog.csdn.net/blmoistawinde/article/details/82379256 阅读全文
posted @ 2020-09-19 20:49 lypbendlf 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1.编码范围 https://blog.csdn.net/mouday/article/details/81512870 import sys def check_contain_chinese(check_str): for ch in check_str.encode('utf-8').deco 阅读全文
posted @ 2020-09-19 15:03 lypbendlf 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1.直方图 import matplotlib.pyplot as plt plt.hist(x = len_s, # 指定绘图数据 bins = 20, # 指定直方图中条块的个数 color = 'steelblue', # 指定直方图的填充色 edgecolor = 'black' # 指定直 阅读全文
posted @ 2020-09-19 10:50 lypbendlf 阅读(124) 评论(0) 推荐(0) 编辑