随笔分类 -  python

摘要:Mysql巡检脚本 环境说明 mysql8.0+ python 2.7 yum install python-pip -y yum install python-devel yum install MySQL-python -y #!/usr/bin/env python # -*- coding: 阅读全文
posted @ 2020-02-05 03:23 Carry00 阅读(286) 评论(0) 推荐(0)
摘要:加密解密脚本 #!/usr/bin/env python # -*- coding:utf-8 -*- from Crypto.Cipher import AES from binascii import b2a_hex,a2b_hex # from deveops.settings import 阅读全文
posted @ 2020-02-04 03:26 Carry00 阅读(163) 评论(0) 推荐(0)
摘要:certbot 调用cloudflare api申请证书 1.安装certbot sudo yum install certbot python2-certbot-nginx -y 2.安装插件 sudo yum -y install python-pip pip install --upgrade 阅读全文
posted @ 2019-11-03 07:50 Carry00 阅读(916) 评论(0) 推荐(0)
摘要:requests库提示警告:InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate ver 在请求代码前添加如下代码即可: requests.packages.urllib3.disable 阅读全文
posted @ 2019-01-19 12:16 Carry00 阅读(1320) 评论(0) 推荐(0)