上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 67 下一页
摘要: CentOS7系统安装完毕之后,输入ifconfig命令发现没有eth0,不符合我们的习惯。而且也无法远程ssh连接, 这个问题解决起来还算简单: 一,永久搞定 1.进入目录/etc/sysconfig/network-scripts/ 2.将文件ifcfg-ens33重命名为ifcfg-eth0; 阅读全文
posted @ 2019-06-10 11:25 hank-li 阅读(2968) 评论(0) 推荐(0)
摘要: 参考链接 Parallels Desktop虚拟的Centos系统设置静态IP连网 https://blog.csdn.net/hotdust/article/details/53812953 commentBox Parallels Desktop 虚拟机NAT设置 https://blog.cs 阅读全文
posted @ 2019-06-08 00:14 hank-li 阅读(1973) 评论(0) 推荐(0)
摘要: ``` from xlutils.copy import copy import xlrd import xlwt tem_excel=xlrd.open_workbook('日统计.xls',formatting_info=True) tem_sheet=tem_excel.sheet_by_index(0) new_excel=copy(tem_excel) new_sheet=new_... 阅读全文
posted @ 2019-06-05 22:49 hank-li 阅读(4247) 评论(0) 推荐(0)
摘要: https://developers.google.com/web/tools/chrome devtools/?hl=zh cn 阅读全文
posted @ 2019-05-29 22:44 hank-li 阅读(228) 评论(0) 推荐(0)
摘要: 解析库 |解析器|使用方法|优势|劣势| | | | | | | Python标准库 | BeautifulSoup(markup, "html.parser") | Python的内置标准库、执行速度适中 、文档容错能力强 | Python 2.7.3 or 3.2.2)前的版本中文容错能力差| 阅读全文
posted @ 2019-05-26 18:14 hank-li 阅读(217) 评论(0) 推荐(0)
摘要: 首先安装相关的库 然后使用该库 最好的,通过真实世界的浏览器使用统计随机 除了使用fake useragent,Faker也可以实现相同操作 首先安装faker 例如: 效果如下: 参考原文:http://www.chenxm.cc/post/534.html 阅读全文
posted @ 2019-05-25 22:54 hank-li 阅读(2860) 评论(0) 推荐(0)
摘要: ``` import os path="E:\\python" #批量的py文件路径 for root,dirs,files in os.walk(path): #进入文件夹目录 for f in files: #文件夹下的文件 if os.path.splitext(f)[1]=='.py': #只运行py文件 os.chdir(root) ... 阅读全文
posted @ 2019-05-24 14:05 hank-li 阅读(1945) 评论(0) 推荐(0)
摘要: 1、字体、字号、颜色设置 上述设置显示效果如下所示: 微软雅黑字体 黑体 3号字 4号字 红色 绿色 蓝色 注意: CSDN中的blog默认字号为3号字,字号数值可设为1~7,默认字体为微软雅黑。其它颜色值可参考 "CSDN markdown编辑器语法——字体、字号与颜色" 字体、字号以及颜色可在中 阅读全文
posted @ 2019-05-24 10:46 hank-li 阅读(17137) 评论(1) 推荐(4)
摘要: 输出端出现以下问题: 解决方案: 阅读全文
posted @ 2019-05-23 17:06 hank-li 阅读(1687) 评论(0) 推荐(0)
摘要: python所有包、模块镜像站 https://www.lfd.uci.edu/~gohlke/pythonlibs/ 阅读全文
posted @ 2019-05-23 16:14 hank-li 阅读(1147) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 67 下一页