import urllib.request; from bs4 import BeautifulSoup; response = urllib.request.urlopen("file:///C:/Users/junwei_zhou/Desktop/502/6.1/html.html"); htm ...
分类:
Web程序 时间:
2020-07-04 22:31:21
阅读次数:
78
request中文API https://requests.readthedocs.io/zh_CN/latest/ ...
分类:
其他好文 时间:
2020-07-04 22:28:12
阅读次数:
86
运行环境:python3.6.9 opencv3.4.10 import cv2 import numpy as np font=cv2.FONT_HERSHEY_COMPLEX kernel = np.ones((7,7),np.uint8) img=cv2.imread('corn.jpg',1 ...
分类:
其他好文 时间:
2020-07-04 22:25:33
阅读次数:
72
一.什么是数据作用域 数据作用域,Scope,也就是指代数据共享的范围,数据存储在合适的范围,在需要的地方取到 二.JSP四大数据作用域 作用域分为四种,分别为: page 在当前页面有效(仅用于JSP中) request 在当前请求中有效 session 在当前会话中有效 application ...
分类:
Web程序 时间:
2020-07-04 20:46:42
阅读次数:
89
import datetime import os from flask import Flask, send_from_directory, request from flask_cors import CORS app = Flask(__name__) CORS(app) @app.route ...
分类:
其他好文 时间:
2020-07-04 15:15:29
阅读次数:
94
Nginx日志配置 参考文档:Nginx基本配置和日志处理 Nginx 日志配置不同位置的不同含义: 在 nginx 配置文件的最外层,我们可以配置 error_log,这个 error_log 能够记录 nginx 启动过程中的异常,也能记录日常访问过程中遇到的错误。 在 http 段中可以配置 ...
分类:
其他好文 时间:
2020-07-04 15:02:45
阅读次数:
52
要爬取的网站:http://fy.iciba.com/ https://blog.csdn.net/weixin_43808690/article/details/87886075 原文链接 代码: from urllib import request,parse import json class ...
分类:
编程语言 时间:
2020-07-04 15:01:13
阅读次数:
74
一、报错日志java.lang.IllegalStateException: Async support must be enabled on a servlet and for all filters involved in async request processing. This is do ...
分类:
其他好文 时间:
2020-07-03 17:54:31
阅读次数:
134
《Windows Azure Platform 系列文章目录》 之前遇到1个问题,在这里记录一下。 我在使用Cosmos DB的时候,遇到了查询不到数据的问题。解决方案如下: 我们设计的Collection,分区键是/id 1.如果查询是按照分区键查询的,则命中率会很高,比如查询条件里面,是按照分区 ...
分类:
数据库 时间:
2020-07-03 15:53:50
阅读次数:
63