Here is some information to help you start with python. This information will help new python users.
- python >= 3.9
- pip
Linux (Ubuntu)
sudo apt-get install python3.9
Windows
- python-3.9.13
- alternatively, click this link to download the file directly: https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe
- be sure to install pip and to add Python to the environnement variables
- you should also consider installing the Python test suite
pipenv
: packages managerpytest
: Python test frameworkpytest-cov
: pytest coverage tool reportpylint
: Python lint (static analyser for editor)
Linux (Ubuntu)
# to display the actual version of Python used
python -V
# if there are several versions installed you need to specify the version
python3 -V
python3.9 -V
# use Python pip module to install and manage Python modules
python3.9 -m pip --help
# use Python to run a specific Python script
python3.9 <script>
Windows
# to get the actual version of Python used by Windows
python -V
# to use another version call Python with full path instead of the shortcut alias (see following example)
C:\User\user_name\AppData\Local\Programs\Python\python35-32.exe
# Python pip module
python -m pip --help
# use Python to run a specific Python script
python <script>