[1] https://pragprog.com/titles/gwpy3/practical-programming-thir...
- Introducing Python, 2nd Edition by Bill Lubanovic (Beginner Level)
- Python Distilled, David M. Beazley (Beginner to Intermediate Level)
- Effective Python (2nd Edition), Brett Slatkin (Intermediate Level)
- Fluent Python (2nd Edition), Luciano Ramalho (Advanced Level)
- CPython Internals, Anthony Shaw (Advanced Level)
- Architecture Patterns with Python, Harry J. W. Percival & Bob Gregory (Advanced Level)
Another really cool introduction that's filled with intermediate tricks is "Python Distilled" by Dave Beazley [1] (2021).
A couple of nice intermediate books:
"Intuitive Python - Productive Development for Projects that Last" by David Muller [2] (2021).
"Serious Python" by Julien Danjou [3] (2018).
References:
[0]: https://www.oreilly.com/library/view/introducing-python-2nd/...
[1]: http://www.dabeaz.com/python-distilled/
I don't know of any beginning Python books as good as Learning Perl was back in the day. Python has gotten to be a confusing language and maybe not even the best choice for beginners any more though. What is the best choice then? I don't know. Each is terrible in its own way.
https://diveintopython3.problemsolving.io/
It teaches the language and many of its subtleties. It is fairly good to learn Python and is free. It is not however, a book for beginners in programming, it is for programmers wanting to learn Python.
- Python Workout: 50 ten-minute exercises. - Classic Computer Science Problems in Python.
Would strongly recommend if you are looking to up your skills in Python