发布时间:2022-10-31 17:50:35
from PIL import Image, ImageDraw, ImageFont, ImageFilterimport random# 随机字母:def rndChar(): return chr(random.randint(65, 90))# 随机颜色1:def rndColor(): return (random.randint(64, 255), random.randint(64, 255), random.ra.........【阅读全文】
发布时间:2022-10-27 11:50:48
import hashlibimport osimport requestsimport timeimport sysimport jsonimport csv#显示某等级地区的小计def show_level_count(x_list): j=0 for i in range(len(x_list)): &nb.........【阅读全文】
发布时间:2022-10-26 14:10:52
import cv2import numpy as npfrom imutils import contours # 排序操作,也可以不用。# 绘图展示def cv_show(name, img): cv2.imshow(name, img) cv2.waitKey(0) cv2.destroyAllWindows()# 读取一个模板图.........【阅读全文】
发布时间:2022-10-25 17:20:14
# 1-1导入turtle模块进行设计import turtleimport time# 1-2画心形圆弧def hart_arc(): for i in range(200): turtle.right(1) turtle.forward(2)def move_pen_.........【阅读全文】
发布时间:2022-10-19 13:52:36
# 数据处理import pandas as pdimport numpy as np# 绘图import seaborn as snsimport matplotlib.pyplot as pltdf = pd.read_csv(r"D:\桌面\aa.csv", encoding='gbk', index_col=0).reset_index(drop=True)print(df)# Bartlett's球状检验from factor_analyzer.factor_analyzer impo.........【阅读全文】