发布时间:2022-08-26 14:07:09
from wordcloud import WordCloudimport wordcloudimport numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom PIL import Image, ImageDraw, ImageFont# 解决读取图片报错from PIL import ImageFileImageFile.LOAD_TRUNCATED_IMAGES = Trueimport os# 获取背景.........【阅读全文】
发布时间:2022-08-25 11:50:58
# file_name: excel_crawler_urllib3.pyimport urllib3import pandas as pddef download_content(url):# 创建一个 PoolManager 对象,命名为 httphttp = urllib3.PoolManager()# 调用 http 对象的 request 方法,第一个参数传一个字符串 "GET"# 第二个参数则是要下载的网址,也就是我们的 ur.........【阅读全文】
发布时间:2022-08-24 11:55:22
from tkinter import messagebox as msgboximport tkinter as tkimport webbrowserimport randomclass Lifes: def __init__(self, rows=36, cols=36): self.row = rows+2 .........【阅读全文】
发布时间:2022-08-19 14:27:13
public class DispatcherServlet extends HttpServlet { private Map mapping = new HashMap(); @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletE.........【阅读全文】
发布时间:2022-08-18 11:44:35
import numpy as npfrom 图像识别 import picutilsimport cv2# 读取视频cap = cv2.VideoCapture('xxx.mp4')# 设置标志位 超过5就变色m = 0while (1): m += 1 # 颜色数组的下标 l = 0 &nbs.........【阅读全文】