How to Automate Your To-Do List With Python

Write code for a few minutes and never lose track of tasks again

Rory Spanton
Level Up Coding
Published in
5 min readJan 26, 2021

--

Photo by Cathryn Lavery on Unsplash

It’s easy to forget about the little things in your routine. When life gets hectic, minor responsibilities like watering houseplants, taking out the bins, and cleaning your computer often get forgotten.

Even as someone who researches human memory for a living, I still suck at keeping track of things like this. Having a global pandemic in the background doesn’t help my mental capacity either.

If you’re like me, thankfully you can fix this with a little basic code. By using a common online to-do list in conjunction with a Python script, it’s easy to set up custom repeating alerts based on a ton of different conditions. So long as you run the script regularly, you’ll wake up each morning to a tailor-made task list for you to tackle. No sweat.

So what do you need to do?

1. Set up Todoist

Todoist is a really neat digital to-do-list. It does everything you’d want a to-do-list to do: you can assign task priorities, group tasks by projects, set deadlines, and so on. Although I don’t use Todoist as my primary organising tool anymore, it’s still my favourite standalone to-do list app.

--

--

Behavioural Data Scientist @ Good With. Writing about data science, psychology, programming, and more. www.roryspanton.com