发布时间:2021-09-16 17:00:53
import reimport requestsfrom lxml import etreeclass Spider(object): def __init__(self): self.base_url = 'https://www.acwing.com/problem/{}/' self.headers = {.........【阅读全文】
发布时间:2021-09-15 17:21:49
books = [['<<西游记>>', '吴承恩'], ['<<水浒传>>', '施耐庵'], ['<<三国演义>>', '罗贯中'], ['<<红楼梦>>', '曹雪芹']]users = [['zxz', '123'], ['th', '456']]flag = 0#注册def register(): user = input('请输入用户名: ') password = inpu.........【阅读全文】
发布时间:2021-09-14 17:25:08
#!/usr/bin/python# -*- coding: UTF-8 -*-"""@author: Roc-xb"""import osimport requestsfrom lxml import etreeheaders = { 'authority': 'www.ypppt.com', 'pragma': 'no-cache', 'cache-control.........【阅读全文】
发布时间:2021-09-07 17:17:57
# -*- coding: UTF-8 -*-"""# @Time: 2021/9/1 23:52# @Author: 远方的星# @CSDN: https://blog.csdn.net/qq_44921056"""import osimport jsonimport requestsimport chardetfrom tqdm import tqdmfrom fake_useragent import UserAgent# 随机产生请求头ua = UserAg.........【阅读全文】
发布时间:2021-09-06 17:23:35
#include <opencv2/opencv.hpp>#include <iostream>#include <algorithm>#include <time.h>using namespace cv;using namespace std;// 输入参数struct Inputparama {int thresh = 30; &nbs.........【阅读全文】