摘要: 1.获取当前时间的时间错 if __name__ == '__main__': t = time.time() print(t) # 原始时间数据 1575598311.9527097 print(int(t)) # 秒级时间戳 1575598311 print(int(round(t * 1000 阅读全文
posted @ 2019-12-06 10:29 天妖姥爷 阅读(2076) 评论(0) 推荐(0) 编辑
摘要: 1、form表单类型 ,浏览器的原生form表单 application/x-www-form-urlencoded 2、我们使用表单上传文件时,必须让 form 的 enctype 等于这个值 multipart/form-data <form action="/" method="post" e 阅读全文
posted @ 2019-12-06 09:27 天妖姥爷 阅读(5853) 评论(0) 推荐(0) 编辑