Learn Python the Right Way is a modern adaption of How to Think Like a Computer Scientist.
More about the Book
How to Think Like a Computer Scientist was already the best introduction to Python book available, but we have republished it to:
- Use the online IDE Replit instead of showing students how to set up Python on Windows (a point where many aspiring programmers give up).
- Modernize the presentation and convert the source to Markdown so readers can more easily contribute.
- Use the online app PythonTutor.com for step-by-step visualisation and stepping through code.
We've also changed the title to better indicate that we believe that this is the best book for beginners to learn Python, not only in the academic context of computer science.
Part 2 of our Python course is codewithrepl.it, a series of Python projects in tutorial form that learners can work through and extend.
We believe that working through first this book (to learn the fundamentals) and then the set of tutorials (to see what is possible and gain experience with various libaries) is the best way to learn Python in 2021.