How shammas-satti-00/python-basic-script works
This repository combines standalone Python learning exercises with a separate Tkinter BMI calculator. The main user-to-result workflow is entering measurements, calculating and classifying BMI, then viewing or hearing the result; session history also feeds a trend chart. The chapter scripts are independent examples rather than a connected application. BMI behavior is shown from the sampled bmi_cal.py; exercise nodes summarize chapter contents. No persistent database is present.
Main entry points: bmi_cal.py Tkinter interface · Chp 1 Chapter 1 scripts · Chp 2 Chapter 2 scripts · Chp 3 Chapter 3 scripts
Components 11
Learning exercises
- Chapter 1 scripts
Chp 1 - Chapter 2 scripts
Chp 2 - Chapter 3 scripts
Chp 3
BMI calculator
- Tkinter interface
bmi_cal.py - BMI calculation
bmi_cal.py - Session history
bmi_cal.py - BMI charts
bmi_cal.py - Voice output
bmi_cal.py
Other components
- User
- Text-to-speech engine
- Matplotlib
Connections 11
- User → Chapter 1 scripts: runs examples
README.md - User → Chapter 2 scripts: runs examples
README.md - User → Chapter 3 scripts: runs examples
README.md - User → Tkinter interface: enters measurements
bmi_cal.py - Tkinter interface → BMI calculation: invokes calculation
bmi_cal.py - BMI calculation → Session history: appends result
bmi_cal.py - BMI calculation → Voice output: requests narration
bmi_cal.py - Voice output → Text-to-speech engine: speaks text
bmi_cal.py - Tkinter interface → BMI charts: opens charts
bmi_cal.py - BMI charts → Session history: reads trend data
bmi_cal.py - BMI charts → Matplotlib: plots trend
bmi_cal.py