I started learning python several years ago through codecademy. I did all of my initial learning through the context of data science. This means I also experimented with SQL as well as python libraries such as matplotlib, pandas and numpy.
This year, I've started learning python in the context of cybersecurity and scripting.
A couple of projects I've done within this domain are below: