From 30d042cec2c5ff85f859e3e6564be176479a9cfb Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Wed, 25 Nov 2020 21:19:07 +0100 Subject: Add python sheet with venv stuff --- python.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 python.md diff --git a/python.md b/python.md new file mode 100644 index 0000000..e89d842 --- /dev/null +++ b/python.md @@ -0,0 +1,21 @@ +# Python + +## Virtual Envs + +Create: + + python3 -m venv + +Run: + + source /bin/activate + +### requirements.txt + +Create based on currently installed packages: + + pip freeze > requirements.txt + +Install from requirements: + + python -m pip install -r requirements.txt -- cgit v1.2.3