Python - rFronteddu/general_wiki GitHub Wiki
Setup
- Get python
- In VS Code, install extensions: python (by Microsoft), Jinja (syntax highlighting), Flask Snippets, SQLite Viewer (to quickly inspect DB)
- Open terminal and activate environment:
python -m venv venv
source venv/bin/activate # mac/linux
venv\Scripts\activate # windows
- Enable script execution, this
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
- Scope CurrentUser → applies only to your user account (not system-wide).
- ExecutionPolicy RemoteSigned → allows:
- Scripts you create locally to run freely (like venv\Scripts\activate.ps1).
- Scripts downloaded from the internet to run only if a trusted publisher digitally signs them.