A python boilerplate with Visual Studio Code integration (linting, formatting and debugging)
- Clone and open the directory in Visual Studio Code.
python -m venv .venv
Before adding packages via pip, activate virtual environment
In Visual Studio Code, when recommanded extensions are installed, integrated terminal will automatically activate virtual environment on init.
source /.venv/bin/activate
pip install -r requirements.txt
- install numpy
pip install numpy
- save all dependencies to requirements.txt
pip freeze > requirements.txt