Skip to content

Day 1 of my Python monk mode practice – core scripts and a habit tracker.

Notifications You must be signed in to change notification settings

gavinbarbee/python-monk-mode

Repository files navigation

Python Monk Mode – Day 1

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.


Files

Learning scripts

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 with try, except, else, and finally.

Habit tracker

  • 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.


How to run

From the project folder:

# run one of the learning scripts
python 01_variables.py

# run the habit tracker
python habit_tracker.py

About

Day 1 of my Python monk mode practice – core scripts and a habit tracker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages