That's how I've learned Python, so far. Between that and, writing my own code, and looking at other's code, Ive picked up quite a bit (not an expert but I think I'm doing OK).
The easy part is the language, the difficult part is learning to do things the Pythonic way.
Of course, I have to allow for the Dunning-Kreuger effect.