m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/python.md
blob: e89d842f67686e9b9a33fdc85566ecfda7bea822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Python

## Virtual Envs

Create:

    python3 -m venv <env name>

Run:

    source <env name>/bin/activate

### requirements.txt

Create based on currently installed packages:

    pip freeze > requirements.txt

Install from requirements:

    python -m pip install -r requirements.txt