I first learned Python from a MOOC offered by MIT on edX.org several years ago. Since then, I've been using it to work on projects that interest me, like these...
Zulip is a chat application (think Slack, but open-source). As part of the Google Code-in competition in 2016, I wrote a bot that allows a user to play tic-tac-toe against the computer in the Zulip interface. You can see my pull request here.
Since I was little, I've loved wordplay. I wrote scripts for a few word games in Python -- Hangman, Cheaterman (Hangman against the computer, but the computer cheats), and Travel Scrabble -- and then thought to put them on the web.
I built a website from scratch using HTML, CSS and the Flask microframework with my Python code. You can play for yourself at http://maydhak.pythonanywhere.com/!
Project Euler is a collection of math problems, most of which require a computer/programming to solve. As someone who loves math and wanted something small and self-contained to practice my programming skills with, I started writing solutions to these problems in Python for fun.
I've written solutions for 35 of the problems, which you can see here.