02 2023 档案
摘要:定义类 # 基于bootsrap class Pagination(object): def __init__(self, current_page, all_count, per_page_num=2, pager_count=11): """ 封装分页相关数据 :param current_pa
阅读全文
摘要:wsgiref wsgiref模块是内置模块,将请求的数据进行封装,组成键值对格式 from wsgiref.simple_server import make_server def run(env, response): ''' :param env: 请求相关的所有数据,封装成键值对字典形式 :
阅读全文