[Rabbit King’s Book Gift No. 10] Getting started with Python from scratch, just read this article!

write in front

The 10th issue of fan welfare is here. In this issue, the blogger recommends a book that is very suitable for getting started with Python from scratch: "Python Super Learning Manual". I hope everyone can become their own unparalleled hero after reading this book~

Recommended books

"Python Super Learning Manual"

Official website link:https://item.jd.com/13410981.html

Python super learning manual

Preface

Please read the following passage slowly in your deepest voice, even if your breath is fine:

"Legend has it that there is a group of supermen. They have superpowers and are scattered all over the world. They have the ability to activate potential and awaken zombies and undead. They can issue instructions in different languages ​​and can make machines near or far obey their will. , obey their orders. These people are excellent and powerful, they are legendary...programmers!"

<Cough>Sorry!

Okay, I have to admit that my performance just now may have been a little too vigorous. But then again, we programmers are really all masters, supermen, and supermen like Captain America. We all understand that we are programmers and think we are cool and awesome (not bragging, really). In fact, for most programmers, we are the same as Gandalf in Harry Potter, Bruce Wayne in Spider-Man, Luke Skywalker in Star Wars, Iceman, etc. Queen Elsa in "Tornado", Tony Stark in "Iron Man", Wonder Woman or Deadpool. The most similar thing is that we all have super powers and can command machines through programming so that they can serve us humans.

I know, this may seem a bit exaggerated. But to be honest, programming allows us to have such powerful abilities. In other words, "superpowers" are easily acquired by learning programming.

This book takes everyone to learn programming together and will help everyone master these skills. In addition, and more importantly, we want to help everyone become a superhuman programmer like Captain America through correct and efficient learning methods.

Why learn programming

Before that, please first consider this question: "Why should we learn programming?" If we ask people around us or search online, we will get various answers.

The most common answer is that programming is a future-oriented skill and is very important. In other words, if we master programming, it will be easier to find a good job in the future. While there may be some truth to this statement, I honestly don't think it's the best reason to learn programming. Why do I say this?

First of all, not everyone needs to be a programmer. It's impossible, just like it's impossible for everyone to be a doctor, a chef, a teacher, a pilot, or Mario who goes through the sewers to save the princess, you know what I mean? In order to maintain the normal operation of society, different people need to do different things. So, although it is a pity, we really don't need all 8 billion people to be programmers in the future.

In addition, the technical field (including programming) is developing at a rapid pace. The work of programmers now is different from the work of 10 years ago, and the changes will be even greater in the next 10 years. Therefore, what you learn now is not necessarily what you will use when you become a programmer in the future. Good programmers never stop learning, improving, or expanding their skills. What this book focuses on is basic knowledge, which is always important and practical, but the specific details often change with different application scenarios. Besides, programming is not a skill that can be mastered immediately after learning it. If someone really thinks so, it can only be said that he is completely wrong.

The bottom line is that if your interest in programming is purely based on future career considerations, you may feel that it is more work than fun. If there is no interest, there will be no love, it will be impossible to persist, and there will definitely be a lack of motivation to indulge in programming. That's a shame, because programming is really fun.

I'm not saying there aren't good jobs in programming. There certainly are, and there will be many good jobs over the next few decades. But frankly speaking, consideration of future career should not be the only reason why everyone chooses to become a programmer.

Say one thousand, say ten thousand, why should you learn programming? Should everyone learn it? I believe that even if you don't plan to pursue programming as a career, you should learn programming. I believe in this, just as I believe that everyone should learn to paint and draw, learn to play an instrument, learn to cook, learn to take photos and videos, etc. These are creative jobs, which mean actually creating things, and creating creates a sense of accomplishment and satisfaction. Sure, it's fun to spend hours browsing other people's creations on your phone, but it pales in comparison to the joy and satisfaction you get when your own personal work is available for others to consume and use.

In addition, in the process of learning programming, you can also develop various unexpected skills and qualities other than programming, including planning ability, problem-solving ability, communication ability, logical thinking, empathy, and interpersonal skills. Attention to detail, patience, adaptability, perseverance and creativity.

In fact, these abilities are particularly important for future jobs and careers, especially creativity and creative problem-solving. So, yes, even if you don’t plan to become a programmer, coding can really help you in your future career.

How to learn programming

Now, we have determined that learning programming is a general trend and a necessity. But where to start? In my experience, many books, videos, and courses focus too much on the mechanics of programming, such as syntax and the nuts and bolts of using specific language elements. All the details make people feel like a spoon-fed teaching. It does not encourage everyone to try to tinker with the code. It is very boring. Using a book like this as a teaching material is like spending hours learning the words and grammar in a dictionary, and then using these words and grammar through imitation, without any chance to bring in your own words and voice. This is outrageous, right? However, this is how most people first encounter programming.

I have been teaching programming for many years. In fact, I have helped more than 1 million people become programmers, including many young people. I know how to help people develop these skills because I taught myself that way. My teaching characteristics are fast, interesting, but at the same time goal- and result-oriented, emphasizing effectiveness, and striving to help students master the art of programming from wanting to know, to participating, to obtaining, and finally mastering. .

The above is the reason why I wrote this book, which is to help everyone learn programming, and more importantly, to help everyone fully unleash their superpowers in programming, so that everyone can become someone who is good at thinking and acting. Highly efficient programmer.

Contents of this book

This book won't just focus on explaining how to program; there are plenty of them, and some of them are even really good.

However, just learning to program is not enough. This book will also help you learn to think like a programmer, analyze problems like a programmer, make plans like a programmer, iterate incrementally like a programmer, and design elegant solutions like a programmer... In fact, in After you finish studying this book, you will become (drumroll should be heard here) an impressive superhuman programmer!

To achieve this goal, this book is very different from other books. The motivation for creating this book is to help everyone quickly become a super programmer while deeply immersing themselves in the fun of programming.

The book has a total of 3 parts and 24 chapters. Each part complements each other, as detailed below.

Part I "Playing Python: Small Games, Big Fun"

This section covers some of the basics (and some not so basics). After completing this part, you will have mastered all the major programming concepts and have the basic knowledge needed to write any application.

This part contains 10 chapters, as detailed below: The main content of Chapter 1 is installation and operation, including how to help you install the necessary software and prepare for using the software. Chapters 2 to 7 introduce how to create various mini-games and other programs. Each chapter introduces new programming concepts and immediately applies them to new projects. In each chapter, you have the opportunity to tweak, modify, and make the code your own unique "asset." Next, you'll create a more complex game in Chapter 8, and complete it in Chapter 9. Chapter 10 concludes Part I by discussing various ideas you can try on your own.

The chapters are designed in this way to take into account the need for each topic to complement each other. Newly developed skills in one chapter can then be put to use in subsequent chapters. At the same time, these chapters are also designed to be short and concise, and most chapters only involve some small independent programs.

Please take your time when learning this section. Please try each lesson and each case on your own, and use a playful attitude to modify, adjust, and tinker with the code. Please feel free to modify the code provided in the book to see how the program changes. Since the operation can be undone at any time, there is no need to worry about damaging the program by playing with the code in this way. What you learn in Part I will be what you will use most in the future, both when studying this book and in any future projects.

Part Ⅱ "Play Seriously with Python: Text Adventure Games"

After completing Part I, we left the shallow water area and came to the deep water area. In this section, you'll create a larger and more interesting game. In the beginning, start building the framework and then gradually add functionality to it. What kind of game do you want to create? The answer is a cool old-style text adventure game that will impress your family and friends, and can be made complex enough to make hardcore gamers cry.

There are 8 chapters in this part: Chapter 11 involves the preparation work before officially starting to make the game. Chapter 12 will begin creating the game, gradually adding features and complexity, continuing through Chapter 17. Chapter 18 will provide various ideas for improving the game. Unlike Part I, in this part we want you to go on your own adventure, tell your own story, and write your own game. We will help everyone get started and demonstrate the technologies to be used. Everyone is free to use the code in the book. We'll even cover how to download the beginnings of other stories, but then we'll leave it up to you to create your own gaming masterpiece.

Part III "Python is fun: racing games"

Similar to Part II, in this part we will build a larger game step by step. This time we're going to create a graphical game, with graphics, movement, user interaction, and scoring.

There are 6 chapters in this part: Chapter 19 will introduce and introduce how to use the game engine and explain what a game engine is. In Chapters 20 through 23, we'll build a complete, playable game. Pictures will be available in the book (yes, we're that thoughtful). Chapter 24 summarizes many interesting ideas that can be added to the game. In this part, there will be less reproducible code (because by the time you learn this, everyone is already an expert). At the same time, explain how to change and update the code to get the results you want. Oh, by the way, I’d also like to mention Chapter 25. Yes, we dote on you so much that we added an extra chapter 25. It can be found on the book's web page. You can access it by visiting the link at the end of the preface or scanning the QR code.

get help

As you read this book, you may occasionally need some help. When encountering this situation, you can take the following methods. In the address bar of the browser, enter https://forta.com/books/0137653573 to visit the English version website of this book. You can also scan the QR code below. The website contains many tips, solutions and more extensions for the original English book. You can also join the Python community through the assistant.

Of course, you can also search using a browser like most programmers do. Enter a specific question, such as the full name of a programming language, to find the answer. You can also contact us at any time. Our contact information can be found at https://forta.com/ and in the previous prompts.

Well, welcome to the world of Python programming! Please turn this page and let’s get started!

Reasons for recommendation

"Python Super Learning Manual" is an introductory guide to Python programming for beginners, designed to help readers quickly master the basic knowledge and practical application skills of Python programming. Here are a few reasons why this book is worth recommending:

First, it is suitable for beginners. Whether you are a complete novice in programming or already have some programming experience, this book can provide a wealth of help. The book introduces Python's basic syntax, common modules, function writing, object-oriented programming and other knowledge points in easy-to-understand language and concise and clear examples to help readers get started quickly.

Second, the content is comprehensive. This book starts from the basic syntax of Python and covers all aspects of Python, such as strings, lists, dictionaries, tuples, file I/O, regular expressions, crawlers, data analysis, etc. Readers can fully understand the usage scenarios and application methods of Python through this book.

Third, it is highly practical. In addition to theoretical knowledge, this book also helps readers gain an in-depth understanding of the practical application scenarios and solutions of Python programming through rich examples and project cases. These examples and cases can not only help readers consolidate the knowledge they have learned, but also inspire readers to develop their own projects.

Fourth, easy to operate. Every example in this book is carefully designed to make it easy for readers to operate and practice. Readers can directly enter the code in the Python environment, run it and view the results. This not only helps readers better understand the knowledge they have learned, but also improves readers' programming and experimental abilities.

Fifth, it comes with supporting teaching materials. The book also comes with a large number of supporting teaching materials, such as solutions to exercises, code examples, example data, etc., to facilitate readers to further study and practice. These teaching materials can help readers better master Python programming skills.

To sum up, if you want to quickly master the basic knowledge and practical application skills of Python programming, then "Python Super Learning Manual" is a highly recommended book.

Fan benefits

  • Now Like and save comments "Life is short, I love python"
  • Up to five friends will be randomly selected from the comment areafor freeFree a book
  • Deadline:December 10, 2023

write on the back

I am a funny bunny, thank you for your like!

Guess you like

Origin blog.csdn.net/m0_68111267/article/details/134787883