IMO, the best, most efficient way to learn.
In the resources [1] you can also find my full-speed python ebook. I use it to teach python to 2nd year CS students so they start programming with sockets after 3 weeks (~10 hours). You can stop after the classes chapter and you’ve learned basic python..
- Enterprise web dev? You'll probably want Django https://dev.to/vladyslavnua/how-to-build-a-django-web-app-fr... (but ignore all the CSS, frontend stuff)
- Just want to learn idiomatic Python in general. Go through this article/exercise, write all the code, and research the topics that seem confusing, I think you'll be in good shape (ignore all the maths, just talking about the literal code) https://karpathy.github.io/2021/06/21/blockchain/
- Want to learn modern, idiomatic Python via a popular open source package? Look at this httpx code, and obviously playing around with a simple web client can be fun https://github.com/encode/httpx/blob/master/httpx.
I also believe that the Python manual is top quality and that one of the best productivity strategies is to bypass StackOverflow and Google completely and to train yourself to look up anything in the manual which is possible to look up in the manual.