Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.25 KB

File metadata and controls

30 lines (25 loc) · 1.25 KB

Mastering Python

Mastering Python for Professional Programmers

Slides

Google Slides

Setup your environment

  1. Make sure you have IDE. I suggest Visual studio Code
  2. Install Uv
    2a) If in windows: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
  3. load your virtual enviroment: uv venv
  4. Load your dependancies: uv sync
  5. Follow the last line outputed (might be: .venv\Scripts\activate)
  6. Run your script (if it's "main.py") by running: uv run main.py

Steps we'll do from now on

  1. Fork the repo to your own github
  2. Clone your own repo
  3. uv venv
  4. Activate the VENV (follow the green line)
  5. uv sync
  6. Run the programs with uv run index.py or uv run streamlit run index.py

Links of references