I’ve learned on an “as-needed” basis. I see code that does what I want. Ok it’s Python. I set up my Python environment to suit, which is a pain in the butt sometimes, then I tweak the program to do what I want. I have to figure out what it’s doing, make the little changes, then it does what I want.
I learn as I go.
The problem is: I can’t write Python from scratch. But the good news is, I rarely write anything from scratch unless I must, so it’s no big deal.
Best tutorials are: “Copy/paste” TRY IT YOURSELF!
But instead of copying/pasting, actually *type it in*.
Somehow typing it yourself gives your fingers ownership over the stuff you write. You make some mistakes — an indent here or there… a misplaced letter or punctuation, and you learn.