Is this book a good way to learn python3?

silencement
Release: 2019-06-17 15:38:14
Original
6207 people have browsed it

Is this book a good way to learn python3?

When we learn any language, we all wish that there was a book or a video that could help us learn all the content, or that the books we purchased could include exercises. , if you study with exercises, you will better understand the content. The popularity of the Python programming language has been high at present, and many people who have no programming language foundation have begun to learn it.

At this time we are facing a big problem. I have no foundation in programming languages and have not been exposed to Python, so at this time we need a book that suits us.

So today we will introduce a book "Learning Python 3 the "Stupid Way"". This is not just a book. It comes with more than 5 hours of passionate videos. This is a set of Complete Python language video course! Pure American pronunciation, Chinese subtitles, you can practice both while watching it.

Is this book a good way to learn python3?

What is the "Stupid Way" to learn Python 3 about?

The purpose of this book is to get you started with programming. Although It is to use the "Hard Way" to learn to write programs, but it is not the case. The so-called "Hard Way" refers to the teaching method of this article, which is the so-called "command-based" teaching. In this process, I will Lets you complete a series of exercises while you learn skills through repeated practice. The exercises are also designed for repeated practice. This is a great way for beginners who know nothing to understand more complex topics before they can understand them. This teaching method works great. You can see it taught in everything from martial arts to music, and even when learning basic arithmetic and reading skills.

This book guides you to gradually master the skills of using Python programming through practice and memorization, and then moves from shallow to deep, allowing you to apply these skills to various problems. After reading this book, you will Have access to the tools you need to learn complex programming topics. I like to tell people: this article of mine will give you a "programming black belt." This means that you have laid the foundation and can actually start learning programming. .

Improvements for Python 3

This book uses Python 3.6. I use this version of Python because it includes a new and improved version of strings Formatting system, this system is easier to use than the previous one. Beginners may encounter some problems when getting into Python 3.6, but I will help you overcome them in the book. A particularly troublesome problem with Python 3.6 is that in some The error messages in key places are terrible, but I'll help you figure them out.

Finally, the Python 3 version fully supports Windows 10. Past versions have focused on Unix-style operating systems. Such as macOS and Linux, Windows is just mentioned in passing. As I write this book, Microsoft has begun to take open source tools and developers seriously, and Windows is also a serious Python development platform. In the video, on many occasions I demonstrated on Windows, and for full compatibility, I also demonstrated on macOS and Linux. I talked about some pitfalls encountered on each platform, demonstrated the installation process, and provided many other tips.

This book will teach you three important skills that novice programmers need to know: reading and writing, paying attention to details, and seeing differences.

Reading and Writing

Obviously, if you have trouble typing, you will also have trouble learning programming. Especially, if you can’t even type those strange characters in the program source code, let alone Programming. Without these basic skills, it will be difficult for you to learn even the most basic working principles of software.

The process of manually entering code samples and letting them run will allow you to learn the names of various symbols. Become familiar with their input and eventually understand the programming language.

Attention to details

One of the most important aspects that distinguishes good programmers from bad programmers is the attention to detail. In fact, this is the standard that distinguishes good from bad in any industry. Without attention to every tiny detail of your work, your work will inevitably suffer from critical flaws. From a programming perspective, the result is software that is buggy and difficult to use.

Reading through this article and entering every example in the book verbatim will train you to focus on the details of what you are doing when doing something.

Discover the Difference

Most programmers develop an important skill over many years of work, which is the ability to see the differences between things. An experienced programmer can take two pieces of code that are only slightly different and can immediately point out the differences. Programmers have even invented tools to make this easier, but we don't use these tools. You have to train yourself the hard way first before using these tools.

As you do these exercises and type in each piece of code, you are bound to make mistakes. This is inevitable, and even experienced programmers will make mistakes occasionally. Your task is to compare what you wrote with the correct answer and correct any differences. This process can make you more sensitive to errors, bugs, and other problems in your program.

Look less and ask more

As long as you write code, you will write "bugs" (bugs). A "bug" is a flaw, error, or problem in the code you write. It is said that once in the early years, someone's computer was working abnormally. After inspection, it was found that the cause was a moth flying into the computer, so people later called the computer problem a bug. To fix computer problems, you need to "debug" it, which is where the word debug comes from. In the world of software, there are countless bugs. There are really too many.

Like the moth, your bugs will be hidden in the code, and you need to find them. Don't think that if you stare at the code on the screen, the "bugs" will crawl out on their own. You need more information to find them. You need to stand up and roll up your sleeves to find the "bugs."

To find "bugs", you need to torture your code and ask what happened to it, or you need to look at the code from a different perspective. I mentioned "look less and ask more" many times in this book. I demonstrated how to make the code "honestly explain" what it has done, and how to turn the results of torture into solutions to problems. I also demonstrate different ways of understanding the code, giving you more information and insight.

Don’t copy and paste

You must enter each exercise manually, copying and pasting will make these exercises meaningless. The purpose of these exercises is to train your hands and brain thinking, so that you have the ability to read code, write code and observe code. If you copy and paste, you're cheating yourself and making the exercises less effective.

The above is the detailed content of Is this book a good way to learn python3?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!