会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
str_wjp
博客园
首页
新随笔
联系
管理
订阅
2019年6月5日
根据键对字典排序
摘要: 方法一:使用zip函数 方法二:
阅读全文
posted @ 2019-06-05 11:04 str_wjp
阅读(798)
评论(0)
推荐(0)
2018年11月30日
Redhat7 更换Centos 7 yum源
摘要: 安装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)
2017年8月11日
python伪装微信post提交
摘要: 进行post或者get请求一个网页时返回值为:请使用微信打开页面 解决办法为在请求的头部信息加上userAgent的值来伪装微信内置浏览器去请求 url = "http://xxxxxxxx" params = {"phone":phone,"name":name} params = urllib.
阅读全文
posted @ 2017-08-11 13:52 str_wjp
阅读(2203)
评论(0)
推荐(0)
2017年5月9日
微信网页授权,获取地理位置
摘要: 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)
2017年4月6日
访问https网站报错
摘要: 报错: /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)
公告