摘要: 文本编辑器vim vim常用操作 vim是一个强大的全屏幕文本编辑器,是Linux上最常用的文本编辑器,它的作用是建立,编辑,显示文本文件。 vim没有菜单,只有命令。 输入a或i或o进入编辑命令,下方显示insert。按esc返回命令模式。 :wq保存退出 :q! 不保存退出。 下面通过表格的方式 阅读全文
posted @ 2018-10-23 22:36 公众号python学习开发 阅读(190) 评论(0) 推荐(0) 编辑
摘要: gunicorn 换成你的关键字即可。 阅读全文
posted @ 2018-10-23 18:03 公众号python学习开发 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 看群友讨论顺便记录下。 阅读全文
posted @ 2018-10-23 17:22 公众号python学习开发 阅读(898) 评论(0) 推荐(0) 编辑
摘要: 1.screen x 进入 2.ctrl+a+n 下一个 3.ctrl+a+p 上一个任务 4.ctrl+a+d 退出 5.ctrl+c 结束任务 其他 screen ls 所有任务 screen r 编号 阅读全文
posted @ 2018-10-23 14:56 公众号python学习开发 阅读(710) 评论(0) 推荐(0) 编辑
摘要: ``` from database import db db_list = ["table1", "table2", "table3", "table4"] for item in db_list: collection = db[item] collection.create_index([("phone", 1)]) print(list(collection.inde... 阅读全文
posted @ 2018-10-23 14:39 公众号python学习开发 阅读(1606) 评论(0) 推荐(0) 编辑