2020年5月26日

使用 virtualenv/venv 和 pip 管理虚拟环境

摘要: 使用 virtualenv/venv 和 pip 管理虚拟环境: 进入项目的根目录,创建虚拟环境:virtualenv --python=python3 venv或python3 -m venv ./venv(venv不用安装,不过需要python3.3以上) 进入虚拟环境:source venv/ 阅读全文

posted @ 2020-05-26 23:38 cag2050 阅读(417) 评论(0) 推荐(0) 编辑

Python:virtualenv 和 venv 的区别

摘要: 出处:https://www.cnblogs.com/colin220/p/10703300.html 阅读全文

posted @ 2020-05-26 23:27 cag2050 阅读(1164) 评论(0) 推荐(0) 编辑

Python | Get unique values from a list

摘要: 出处:https://www.geeksforgeeks.org/python-get-unique-values-list/ 阅读全文

posted @ 2020-05-26 21:36 cag2050 阅读(326) 评论(0) 推荐(0) 编辑

Peewee(Python ORM 框架)知识点

摘要: 资料 网址 字段类型表 https://www.osgeo.cn/peewee/peewee/models.html#field-types-table , http://docs.peewee-orm.com/en/latest/peewee/models.html#field-types-tab 阅读全文

posted @ 2020-05-26 21:03 cag2050 阅读(265) 评论(0) 推荐(0) 编辑

python之配置日志的几种方式

摘要: 出处:https://www.cnblogs.com/yyds/p/6885182.html 阅读全文

posted @ 2020-05-26 20:52 cag2050 阅读(180) 评论(0) 推荐(0) 编辑

python 中的 None,知识点

摘要: None是python中的一个特殊的常量,表示一个空的对象。空值是Python中的一个特殊值,数据为空并不代表是空对象,例如[],'',(),等都不是None。 None 是 NoneType 数据类型的唯一值(其他编程语言可能称这个值为 null、nil 或 undefined),也就是说,我们不 阅读全文

posted @ 2020-05-26 11:40 cag2050 阅读(1413) 评论(0) 推荐(0) 编辑

Gunicorn 知识点

摘要: 命令 说明 gunicorn --help 阅读全文

posted @ 2020-05-26 10:52 cag2050 阅读(147) 评论(0) 推荐(0) 编辑

导航