Python setup
Installation of Python & Python modules
Required installations
Linux (Ubuntu)
Install Python 3.5.2
```sh
sudo apt-get install python3.5
sudo apt-get install python3-pip
python3.5 -m pip install --upgrade pip --user
```
Windows
Download Python 3.x (based on 3.5.2)
- [python-3.5.2](https://www.python.org/downloads/release/python-352/)
- alternatively, click this link to download the file directly: [https://www.python.org/ftp/python/3.5.2/python-3.5.2.exe](https://www.python.org/ftp/python/3.5.2/python-3.5.2.exe)
Installation using the wizard
- be sure to install pip and to add Python to the environnement variables
- you should also consider installing the Python test suite
Optional Python modules
pipenv
: packages manager
pytest
: Python test framework
pytest-cov
: pytest coverage tool report
pylint
: Python lint (static analyser for editor)
Python overview
Linux (Ubuntu)
```sh
# 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.5 -V
# use Python pip module to install and manage Python modules
python3.5 -m pip --help
# use Python to run a specific Python script
python3.5