摘要: 本章内容: Flask 基本应用 链接mysql 连接数据库的5个步骤 pip 配置 使用豆瓣的源 pip 批量安装包 把报的名字写入一个py的文件中(requirement.py) pip install -r requirement.py Flast的多进程启动 nginx + gunicorn 阅读全文
posted @ 2017-06-16 16:47 IT小工Joey 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 方法一: 方法二: 将文本中的 tasting123删除 1 2 3 4 5 6 7 8 with open("fileread.txt","r",encoding="utf-8") as f: lines = f.readlines() #print(lines) with open("filer 阅读全文
posted @ 2017-06-16 10:53 IT小工Joey 阅读(34063) 评论(1) 推荐(1) 编辑