This repo is my starting point for getting serious about Python and tech.
It contains two things:
- Small practice scripts to learn core Python concepts.
- A simple terminal based habit tracker that follows ideas from Atomic Habits.
I am using this project both to learn the language and to build a self development tool I can run every morning.
Each of these focuses on one concept.
-
01_variables.py
Basic variables, types, and printing values. -
02_conditionals.py
If, elif, else, and simple decision logic. -
03_loops.py
For loops, while loops, and iterating over data. -
04_functions.py
Writing reusable functions, parameters, and return values. -
05_collections.py
Lists, tuples, and dictionaries, plus simple iteration over them. -
06_errors.py
Basic error handling withtry,except,else, andfinally.
-
habit_tracker.py
A small command line habit tracker, inspired by Atomic Habits and identity based change.Current features:
- Predefined daily habits like workout, code, and read
- Mark habits as done for the day
- Simple streak and completion tracking
- Menu driven interface that runs in the terminal
I plan to expand this into a more complete self development tool for myself.
From the project folder:
# run one of the learning scripts
python 01_variables.py
# run the habit tracker
python habit_tracker.py