import shelve a = shelve.open('1') b = [1,2,3] a['b'] = b a.close()a['b'] Traceback (most recent call last):File "C:\Users\Administrator\AppData\Local ...
分类:
其他好文 时间:
2020-06-30 17:22:01
阅读次数:
66
python3.6+selenium3.0 环境:windows10,64位 一、安装python python官方下载地址:https://www.python.org/downloads/ 进入页面就有两个版本的下载选择,2.x版本和3.x版本,或者根据系统选择对应版本。 点击Windows,跳 ...
分类:
编程语言 时间:
2020-06-30 17:12:54
阅读次数:
80
location / { root /Users/heyang/Desktop/web/static; index index.html index.htm; try_files $uri $uri/ /index.html; } ...
分类:
其他好文 时间:
2020-06-30 17:12:37
阅读次数:
64
1、下载安装包 进入官网(http://nginx.org/en/download.html)下载指定版本的安装包,这里下载的是最新的nginx-1.18.0.tar.gz: 1 http://nginx.org/download/nginx-1.18.0.tar.gz 2、解压压缩文件 将下载下来 ...
分类:
其他好文 时间:
2020-06-30 17:10:53
阅读次数:
96
ModuleNotFoundError: No module named ‘dlib’尝试命令,但没成功 pip3 install dlib -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 解决方法:第1步下载对应py ...
分类:
编程语言 时间:
2020-06-30 16:05:09
阅读次数:
296
递归Recursion 函数直接或者间接调用自身就是递归; 递归需要有边界条件,递归前进段、递归返回段; 递归一定要有边界条件; 当边界条件不满足的时候,递归前进; 当边界条件满足的时候,递归返回; 斐波那契数列示例: 递归要求: 递归一定要有退出条件,递归调用一定要执行到这个退出条件;没有退出条件 ...
分类:
编程语言 时间:
2020-06-30 14:29:37
阅读次数:
57
解决的问题:将请求分发至同一主机的不同端口(不考虑容器)支持:httpsupstream api { server 127.0.0.1:5000 weight=1; server 127.0.0.1:5001 weight=1; server 127.0.0.1:5002 weight=1;}ser ...
分类:
其他好文 时间:
2020-06-30 13:06:50
阅读次数:
71
1、纯代码创建根视图控制器,在Appdelegate中的didFinishLaunchingWithOptions self.window =[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; //设置窗口根窗口控制器 self ...
分类:
移动开发 时间:
2020-06-30 12:50:21
阅读次数:
161
一、安装准备 linux操作系统 jdk1.8 xshell、xftp 二、安装步骤 1.下载jdk安装包 下载地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 操作系统多少 ...
分类:
系统相关 时间:
2020-06-30 11:21:09
阅读次数:
77
一、 单选题(共20题 每题1分 共 20分 ) 1. 下面哪个Linux命令可以一次显示一页内容? C A. pause B. cat C. more D. grep 2. 怎样更改一个文件的权限设置? B A. attrib B. chmod C. change D. file 3.下面哪个参数 ...
分类:
系统相关 时间:
2020-06-30 11:13:55
阅读次数:
303