建立软链接: ln -s source_file target_indexe.g., ln -s /home/users/username/data/ILSVRC2015/Data /home/users/username/folder1/datasets/ILSVRC2015/ (绝对路径,在ta ...
分类:
系统相关 时间:
2020-06-07 12:36:27
阅读次数:
145
cmd中输入命令建立虚拟环境: conda create --name my_env python=3.7 激活环境: # windows进入虚拟环境my_env activate my_env # Linux 进入虚拟环境 source activate my_env 退出当前虚拟环境 deact ...
分类:
其他好文 时间:
2020-06-07 11:20:20
阅读次数:
49
鼠标+键盘事件 一、鼠标事件 Selenium提供ActionChains类中 from selenium.webdriver.common.action_chains import ActionChains 鼠标操作的常用方法: 操作 方法 右击 context_click() 双击 double ...
分类:
其他好文 时间:
2020-06-07 09:25:04
阅读次数:
72
flog = True #退出多重循环使用count = 0while count < 3: _username = input('用户名:') _password = input('密码:') f1 = open(file='信息.txt',mode='r',encoding='utf-8') f ...
分类:
其他好文 时间:
2020-06-07 09:16:00
阅读次数:
58
函数原型: <termios.h> <unistd.h>int tcgetattr(int fd, struct termios* info)//从与fd有关的终端驱动程序中获取当前设置int tcsetattr(int fd, int when, struct termios* info)//从i ...
分类:
其他好文 时间:
2020-06-06 22:00:12
阅读次数:
78
网上找到的答案一般是需要再装一个安装包,但libcurl4-gnutls-dev或libcurl4-openssl-dev都不适用于我的CentOS 6。 我的情况是: 直觉告诉我是需要这个libcurl-devel.x86_64l 于是装之,然后就能够libcurl-devel.x86_64了。 ...
分类:
Web程序 时间:
2020-06-06 18:54:10
阅读次数:
75
Python中读取文件的方式有许多种,往往数据量大的情况令人苦恼。之前一篇博客https://www.cnblogs.com/xiaolan-Lin/p/12014686.html我说会发大文件读取的后续。 那么后续来啦! 1 import pandas as pd 2 # 采用块读取功能,读取cs ...
分类:
编程语言 时间:
2020-06-06 18:28:44
阅读次数:
176
Maven的pom.xml 坐标配置 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSche ...
分类:
其他好文 时间:
2020-06-06 17:06:33
阅读次数:
101
JQuery 参考视频:https://www.bilibili.com/video/BV1JJ41177di?p=26 一、JQuery是什么 JQuery库,里面存在大量的Javascript函数 JQuery文档:https://jquery.cuishifeng.cn/source.html ...
分类:
Web程序 时间:
2020-06-06 14:25:57
阅读次数:
82