摘要: 方法一:使用zip函数 方法二: 阅读全文
posted @ 2019-06-05 11:04 str_wjp 阅读(798) 评论(0) 推荐(0)
摘要: 安装redhat7 使用yum安装时,提示需要注册。redhat自带yum是需要注册的,然后花钱购买,果断决定更换centos7源,更换过程如下: 1.检测自带yum并且删除: 检测是否安装yum包:rpm -qa |grep yum 删除yum包:rpm -qa|grep yum|xargs rp 阅读全文
posted @ 2018-11-30 14:45 str_wjp 阅读(634) 评论(0) 推荐(0)
摘要: 进行post或者get请求一个网页时返回值为:请使用微信打开页面 解决办法为在请求的头部信息加上userAgent的值来伪装微信内置浏览器去请求 url = "http://xxxxxxxx" params = {"phone":phone,"name":name} params = urllib. 阅读全文
posted @ 2017-08-11 13:52 str_wjp 阅读(2203) 评论(0) 推荐(0)
摘要: OAuth2.0网页授权 官方网站:http://oauth.net/ http://oauth.net/2/ 权威定义:OAuth is An open protocol to allow secure authorization in a simple and standard method f 阅读全文
posted @ 2017-05-09 17:57 str_wjp 阅读(7687) 评论(0) 推荐(0)
摘要: 报错: /usr/lib/python2.7/site-packages/requests/packages/urllib3/ connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. 阅读全文
posted @ 2017-04-06 11:05 str_wjp 阅读(577) 评论(0) 推荐(0)
摘要: 1.安装mysql wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm rpm -ivh mysql-community-release-el7-5.noarch.rpm yum install mysql-c 阅读全文
posted @ 2017-04-06 11:00 str_wjp 阅读(143) 评论(0) 推荐(0)