12 2017 档案

摘要:环境 python 2.7 python 代理类型选择 python代理设置通常如下: 在HTTP 和 HTTPS 两种类型中,HTTPS类型的ip必须对应如:"https" : "https...", 像如:"http" : "https..."这样设置是错误的。 测试代码实例,主要以下有4种情况 阅读全文
posted @ 2017-12-25 23:18 Mindfulness 阅读(482) 评论(0) 推荐(0)
摘要:使用split() 函数 列: 或: 阅读全文
posted @ 2017-12-15 22:46 Mindfulness 阅读(548) 评论(0) 推荐(0)
摘要:python 有3种str 字符空行清除方法,分别为: str.lstrip() 清除左边第一个 str.rstrip() 清除右边第一个 str.strip() 清除两边 列: 打开文件清除换行符 列: 阅读全文
posted @ 2017-12-14 19:08 Mindfulness 阅读(10278) 评论(0) 推荐(0)
摘要:环境:ubuntu 16.04 安装 sudo apt install libmysqlclient dev sudo apt install mysql server sudo apt install mysql client 登录 mysql u root p 退出 quit 和 \q 显示本地 阅读全文
posted @ 2017-12-13 17:49 Mindfulness 阅读(117) 评论(0) 推荐(0)