<<<<<<< Updated upstream python ======= python >>>>>>> Stashed changes

python

Table of Contents

<<<<<<< Updated upstream

1. Python

=======

1. Python

>>>>>>> Stashed changes

interpreted scripting language, installed by default on most linux distributions

State as of 2022-12:

  • very old python 2.7 is phased out in favor of python 3
  • one will find most tutorials using an older python version
  • upcoming python 3.11 comes with huuuuge perfomance improvements (I heard)
<<<<<<< Updated upstream

2. Save environments

=======

2. Save environments

>>>>>>> Stashed changes
  1. check your version

    pip -V
    
  2. debian needs python3-venv

    sudo apt install python3-venv
    
  3. create the venv with python3 -m venv .venv
  4. enter it with source ./venv/bin/activate
  5. probably install packages for your repo:

    pip install -r requirements.txt
    
<<<<<<< Updated upstream

Author: fschl

Created: 2023-01-29 Sun 22:13

=======

Created: 2023-04-19 Wed 13:47

>>>>>>> Stashed changes

Validate