01 2020 档案

摘要:# -*- coding: utf-8 -*-import osimport timeimport requestsproxies = {'http': 'http://localhost:8888', 'https': 'http://localhost:8888'}file_path = os. 阅读全文
posted @ 2020-01-15 15:36 以泪为证 阅读(523) 评论(0) 推荐(0)
摘要:在做一个otp验证的时候,因为每次都要点击发送验证码,然后去数据库查询这条验证码 先来公共函数 # coding=utf-8import MySQLdbclass MySql(): def __init__(self,db): self.mysql = MySQLdb.Connect( host=" 阅读全文
posted @ 2020-01-03 17:32 以泪为证 阅读(638) 评论(0) 推荐(0)