This repository has been archived on 2020-11-27. You can view files and clone it, but cannot push or open issues or pull requests.
readme/python.md

13 lines
306 B
Markdown
Raw Normal View History

2019-05-15 18:10:09 +00:00
---
title: python
---
2019-04-26 07:42:41 +00:00
# python
## Virtual env
- create virtual env: `python3 -m venv /path`
- enter in virtual env: `source env/bin/activate`
- leave venv: `deactivate`
- list all installed package in file: `pip freeze > requirement.txt`
- install package list in file: `pip install -r requirement.txt`