Skip to main content

Command Palette

Search for a command to run...

Reviving My Python Skills: Building a To-Do List CLI App

Published
2 min read
M

I'm an agile learner, mobile developer, tech lover and a mentor.

I am currently interested in AI and Robotics

It’s been years since I last wrote Python code. As a mobile engineer, my daily tools have been Java, Kotlin, and Dart – a routine that’s defined my work for over five years. But now, as I embark on my AI and robotics journey, I realise I need to brush up on my Python skills. My solution? Building a to-do list CLI app.

I’ll admit, getting it working was a challenge. My Python skills had grown rusty, forcing me to take a crash course 😂. But I’m proud to say I’ve managed to piece together a functional little CLI tool that helped me revisit core programming concepts.

What surprised me was how much skill-refreshing power was packed into this simple project. Through building it, I:

  • Worked with functions

  • Handled file input/output

  • Implemented error handling

  • Mastered loops (again)

  • Processed user input

For data storage, I chose JSON – it’s human-readable and lightweight. This was my first time using ⁣json.load() and json.dump(). I’m amazed by how much they simplify data persistence.

The process brought back memories of my early coding days. Remember those hours spent debugging only to find a missing colon or comma? 😂😭 This project served as a good reminder that:

  1. Python won’t forgive your indentation mistakes

  2. Simple tools like JSON can be incredibly powerful

  3. Core programming concepts transcend languages

Building this reminded me that skills are like muscles; they wither if unused. But like riding a bike, the fundamentals come back faster than you’d expect.

Now, if you’ll excuse me, I need to add “Learn NumPy” to my to-do list...

You can view the full code on GitHub