练习1:下载qq头像 并按照昵称保存文件 import os import requests import traceback def send_post(url,data,headers): try: res = requests.post(url=url,data=data,headers=he Read More
flask基本mock import flask # 轻量级web开发框架 from flask import jsonify import tools server = flask.Flask(__name__) @server.route('/login',methods=['post','ge Read More
数据库的基本操作封装: import sys import pymysql from loguru import logger import traceback MYSQL_INFO = { 'host':'192.168.64.128', 'user':'root', 'password':'xx Read More