随笔分类 -  python_flask

摘要:安装依赖: 安装MySQLdb conn = mdb.connect(host='127.0.0.1', port=3306, user='root', passwd='root', db='test', charset='utf8') config = { 'host': '127.0.0.1', 阅读全文
posted @ 2017-02-13 20:31 bad_boy_f 阅读(2027) 评论(0) 推荐(0)
摘要:官网中有用的记录一下,太多只是记录了最简单的官网docs:http://flask.pocoo.org/docs/0.12/ 跑起来一个程序 #监听所有ip # debug 永远不要用在生产环境 #路径中有参数的使用 string accepts any text without a slash ( 阅读全文
posted @ 2017-02-10 17:13 bad_boy_f 阅读(2404) 评论(1) 推荐(0)