Python
To run the Python scripts, I recommend creating a virtual environment. A virtual environment provides isolation, allowing you to manage project-specific dependencies independently of the global Python installation. All required dependencies are listed in requirements.txt
.
-
Create a Virtual Environment
python -m venv .venv
-
Activate the Virtual Environment
-
On Windows
.venv\Scripts\activate
-
On macOS and Linux
source .venv/bin/activate
-
-
Configure VS Code to Use the Virtual Environment
- Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
- Type Python: Select Interpreter.
- Choose the interpreter from the
.venv
folder.
-
Install the dependencies
pip install -r requirements.txt
-
Run the project:
python [script_name].py