12 2020 档案
摘要:from qcloud_cos import CosConfig from qcloud_cos import CosS3Client config = CosConfig(Region='ap-shanghai', Secret_id='xxxxxxxxxxxx', Secret_key='xxx
阅读全文
摘要:#!/usr/bin/python3.7 import psutil import time import os, requests import json monitor_name = {'nginx','supervisord'} monitor_map = { 'httpd': 'system
阅读全文
摘要:Python生成随机验证码,需要使用PIL模块. 安装: 1 pip3 install pillow 基本使用 1. 创建图片 1 2 3 4 5 6 7 8 9 from PIL import Image img = Image.new(mode='RGB', size=(120, 30), co
阅读全文