摘要: 转载至 https://blog.csdn.net/emaste_r/article/details/8447192 阅读全文
posted @ 2018-06-26 09:21 小和尚写代码 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 转载至 http://pyzh.readthedocs.io/en/latest/python-pandas.html 阅读全文
posted @ 2018-06-25 22:33 小和尚写代码 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 转载至 https://blog.csdn.net/roytao2/article/details/54180182 阅读全文
posted @ 2018-06-25 22:31 小和尚写代码 阅读(2183) 评论(0) 推荐(0) 编辑
摘要: 转载至:http://www.revotu.com/python-split-string-methods.html 对字符串进行切分有两种方法:str.split() 和 re.split() Python中字符串分割的常用方法是直接调用字符串的str.split方法,但是其只能指定一种分隔符,如 阅读全文
posted @ 2018-06-25 15:53 小和尚写代码 阅读(1536) 评论(0) 推荐(0) 编辑
摘要: 安装: 1.下载tar.gz(https://www.navicat.com/download) 2.解压到/opt目录下(sudo tar -zvxf *.tar.gz -C /opt/) 3.进入navicat目录(cd navicat*/) 4.执行start_navicat文件(./star 阅读全文
posted @ 2018-06-20 12:15 小和尚写代码 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 最后安装Scrapy安装pip(pip3) 阅读全文
posted @ 2018-06-11 23:20 小和尚写代码 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 在终端敲: sudo pip3 install service_identity --force --upgrade 阅读全文
posted @ 2018-06-11 23:15 小和尚写代码 阅读(159) 评论(0) 推荐(0) 编辑
摘要: zip: 压缩目录: zip -r archive_name.zip directory_to_compress 解压zip文件:unzip archive_name.zip tar: 打包: tar -cvf archive_name.tar directory_to_compress 解包: t 阅读全文
posted @ 2018-06-10 11:48 小和尚写代码 阅读(1355) 评论(0) 推荐(0) 编辑
摘要: 查看进程信息 ps ps -aux 查看所有进程,每行一个程序 top 显示当前运行程序 kill 98 (98为PID号,) kill -9 98 (强制杀死98 阅读全文
posted @ 2018-06-03 15:57 小和尚写代码 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 正则表达式实例 字符匹配 字符类 特殊字符类 正则表达式实例: 首先,这是一个字符串,前面的一个 r 表示字符串为非转义的原始字符串,让编译器忽略反斜杠,也就是忽略转义字符。但是这个字符串里没有反斜杠,所以这个 r 可有可无。 (.*) 第一个匹配分组,.* 代表匹配除换行符之外的所有字符。 (.* 阅读全文
posted @ 2018-05-29 18:21 小和尚写代码 阅读(125) 评论(0) 推荐(0) 编辑