Название: Python Bookcamp: Exercises and Projects Автор: Vaskaran Sarcar Издательство: Independently published Год: 2021 Страниц: 360 Язык: английский Формат: pdf, azw3, epub Размер: 12.1 MB
Python Bookcamp: Exercises and Projects is a beginner's book. It is a quick programming guide to the Python programming language. The best way of learning is by doing exercises and projects. Therefore, this book follows the boot camp approach. It enables you to make interesting programs in no time.
The world is changing, and we keep extra features developing, but the core concepts are evergreen. We build all additional features on top of those. If you have a sound foundation, you can adopt the upcoming features quickly. You also understand the reason behibrnd those changes. So, the book focuses on core topics in-depth, but it does not cover “A-Z” in Python at the same time.
The book has 12 chapters. The first chapter is a simple warm-up session for you. Here you'll set up your programming environment. The second chapter talks about the Python basics. Here you learn about variables, operators, and comments. Each subsequent chapter contains exercises and hands-on projects for you. As you move on, these projects will be more complex. You implement the case studies using the concepts you learn in a previous chapter. At the beginning of these chapters, you get a description of the projects. Once you finish reading these chapters, you get the complete solutions.
The book covers both the common and the advanced data types along with the topic of loop and decision making. It also covers file handling, functions, and modules with exception handling mechanisms too. The last chapters of this book cover the object-oriented programming basics. Here you see the usage of classes, objects, and inheritance. You'll also learn about static and class methods in Python. In the end, there is a chapter to show you how to write useful tests to verify your code.
In most cases, you’ll see the complete programs with output. It means you can continue reading the material without interruption. To write the very short programs, or to test the simple commands, I use a Python command shell. For the remaining cases, you see the usage of PyCharm Community Edition in a Windows10 environment. This is a very popular IDE, and this version is free at the time of this writing.
Many of us are afraid of fat books. They do not promise that you can complete the book in one day or 7 days, etc. Here is the twist. You should not forget that learning is a continuous process. We can achieve no real mastery in a short period. So, the motto of the book is “To learn the core topics in Python, whatever efforts I need to put, I am OK with that”. I believe that if you have a strong focus, you can complete one chapter in a day with no trouble. So, the simple arithmetic says that you can complete the book in 12 days. But it is secondary! I have designed the book in such a way that upon completion of the book, you will learn the core concepts in depth. And you'll know how to learn further.
The source code and other details are available at https://github.com/Vaskaran/PythonBookcamp
In short, you can pick the book if the answer is “yes” to the following questions:
- Have you never programmed before, but eager to learn Python? - Do you want to explore the Python essentials step-by-step, but as quickly as possible? - Do you have experience with a high-level programming languages, but want to learn Python ? - Do you know how to install software on a machine and then set up the coding environment? - Do you like to review your knowledge before you use Python in advanced fields such as data science, machine learning?
Probably you shouldn’t read this book if the answer is yes to any of the following questions:
- Are you confident about the fundamentals of Python? - Are you looking for advanced concepts in Python only? - Do you dislike a book that has an emphasis on exercises? - “I dislike Windows OS, and PyCharm. I want to learn and use Python without them only.”-is this statement true for you?