If you insist on learning Python, then yes online is nice. Sololearn has a free class, that I also backed up with the khan academy course. You may notice that sololearn also has a free cpp class as well, maybe click that instead?
As for Python, once you setup the IDE, I would suggest you use PyCharm by JetBrains. Really nice for troubleshooting code and error catching. Using the IDLE, pythons built in editor is trash for the most part. I guess its fun if you want to play around with screen drawing?
I personally started by making a number guessing game, and a mad lib game. Mad lib game I used to get syntax down and number guessing game to get error handling down. By time I had these 2 things down, the rest is just adding to it.
If you are getting into programming for cheats, I would deter you from learning python. While you can do anything in python you want, it usually takes much more time and code to accomplish.