Since Python is made to accommodate all ranges of projects, including functional programming, it is known for being dynamically typed. It is often joked that it is a “batteries included” program because of its comprehensive library. The current editions are 2.7 and 3.0. The former’s shelf life is expected to extend into 2020. 3.0 is not completely interoperable with 2. Python 2 also doesn’t yet run unmodified Python into 3.
Learning Python can actually be easier than what you’d expect. There’s no need to pay for an expensive bootcamp. A good old fashioned book can actually help you get started as well. Here are my favorite books to learn Python.
My Top Three Python Books
This book knows how to get back to the basics and explains everything very simple. Better yet, it’s written in a reassuring manner telling you that you don’t need to go through the painstaking work of learning all the library functions, syntactical functions, etc. All you need to know is enough to start with some basic programming. It also reassured that crashes don’t destroy your system, it’s just a sign that you’ve encoded something that it doesn’t understand so there’s no need to fear mistakes. It was published in 2015 so some of the information is a little outdated.
Furthermore, it doesn’t repackage its tutorials so you don’t need to worry about gaps in your coding education. The second part gives you real-world application examples without skipping over anything. Many novice programmers are confused as where to go after their introductions or even know how to apply their skills from there. That’s why Automate the Boring Stuff emphasizes learning by building.
This is based on Mark Lutz’s old training course. This is ideal for both novice and experienced coders. However, it is not introductory and is like four books combined into one. Like Automate the Boring Stuff, it reads like smooth English, like someone is actually talking to you. It comes with its own quizzes, exercises and illustrations. It is a self-paced manual for versions 2.7 to 3.3. Unlike some other books, this one explains all of its code samples. It’s long but very fast-paced.
This is by Zed Shaw. It’s also up-to-date. One of the best things about this is that it walks you through the steps one at a time. It also shows you how to easily correct your mistakes. Again, however, don’t beat yourself up if you do make one occasionally. You need to be careful to type the code precisely and there are no shortcuts with copying and pasting. Here, you’ll learn everything from organizing and writing to basic game and web development. The reason this is titled what it is is that it often seems very difficult initially. But with a little practice, you’ll get it.
The three books I’ve described above are considered to be the best in teaching coding. What they have in common is their simple language and making the process easy to understand. They also don’t contain the gaps or loopholes that many coders complain about.