摘要: 2017年4月28日 19:29:52 解压赋值给多个变量 解压赋值给多个变量 可迭代的对象(list,tuple,string,文件对象,迭代器,生成器等),都可以进行解压赋值给多个对象。 deque() deque() 内置模块collections中的一个函数。 1. deque(maxlen 阅读全文
posted @ 2017-04-28 23:13 王一白 阅读(735) 评论(0) 推荐(0) 编辑
摘要: 1、request.from获取POST表单数据 # hello.py # form.html # home.html #signin-ok.html 2、使用Flask-WTF扩展 # hello.py # index.py 附:共同的基模板 # base.html 阅读全文
posted @ 2017-04-28 15:22 王一白 阅读(910) 评论(0) 推荐(0) 编辑