12 2020 档案

摘要:from qcloud_cos import CosConfig from qcloud_cos import CosS3Client config = CosConfig(Region='ap-shanghai', Secret_id='xxxxxxxxxxxx', Secret_key='xxx 阅读全文
posted @ 2020-12-28 10:55 努力乄小白 阅读(1341) 评论(0) 推荐(0) 编辑
摘要:#!/usr/bin/python3.7 import psutil import time import os, requests import json monitor_name = {'nginx','supervisord'} monitor_map = { 'httpd': 'system 阅读全文
posted @ 2020-12-16 17:59 努力乄小白 阅读(573) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2020-12-07 16:13 努力乄小白 阅读(139) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示