随笔分类 - 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:
阅读全文
摘要:加密解密脚本 #!/usr/bin/env python # -*- coding:utf-8 -*- from Crypto.Cipher import AES from binascii import b2a_hex,a2b_hex # from deveops.settings import
阅读全文
摘要:certbot 调用cloudflare api申请证书 1.安装certbot sudo yum install certbot python2-certbot-nginx -y 2.安装插件 sudo yum -y install python-pip pip install --upgrade
阅读全文
requests库提示警告:InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate ver
摘要:requests库提示警告:InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate ver 在请求代码前添加如下代码即可: requests.packages.urllib3.disable
阅读全文