Clean Python
Apress (Verlag)
978-1-4842-4877-5 (ISBN)
Your journey to better code starts with understanding the importance of formatting and documenting your code for maximum readability, utilizing built-in data structures and Python dictionary for improved maintainability, and working with modules and meta-classes to effectively organize your code. You will then dive deep into the new features of the Python language and learn how to effectively utilize them. Next, you will decode key concepts such as asynchronous programming, Python data types, type hinting, and path handling. Learn tips to debug and conduct unit and integration tests in your Python code to ensure your code is ready for production. The final leg of your learning journey equips you with essential tools for version management, managing live code, and intelligent code completion.
After reading and using this book, you will be proficient in writing clean Python code and successfully apply these principles to your own Python projects.
What You’ll Learn
Use the right expressions and statements in your Python code
Create and assess Python Dictionary
Work with advanced data structures in Python
Write better modules, classes, functions, and metaclasses
Start writing asynchronous Python immediately
Discover new features in Python
Who This Book Is For
Readers with a basic Python programming knowledge who want to improve their Python programming skills by learning right way to code in Python.
Sunil Kapil has been in the software profession for the last ten years, writing production code in Python and several other languages. He has worked as a software engineer primarily on back-end services for web and mobile. He has developed, deployed, and maintained small to big projects in production that are being loved and used by millions of users. He has completed these projects with small to big teams in different professional environments for very well-known software companies around the world. He is also a passionate advocate of open source and continuously contributes to projects such as Zulip Chat and Black. He also works with non-profit organizations and contributes to their software projects on a volunteer basis.
Chapter 1: Thinking Python. Chapter 2: Data Structures. Chapter 3: Writing Better Functions and Classes. Chapter 4: Working with Modules and Meta-classes. Chapter 5: Decorators and Context Managers. Chapter 6: Generators and Iterators. Chapter 7: Utilize New Python Features. Chapter 8: Debugging and Testing Python Code. Appendix: Some Awesome Tools.
Erscheinungsdatum | 06.06.2019 |
---|---|
Zusatzinfo | 2 Illustrations, black and white; XV, 267 p. 2 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 155 x 235 mm |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Python |
Informatik ► Theorie / Studium ► Compilerbau | |
Schlagworte | Class • clean • Code • Debugging • decorators • dictionary • eloquent • Functions • generators • modules • pep8 • Python • Strings • Testing |
ISBN-10 | 1-4842-4877-5 / 1484248775 |
ISBN-13 | 978-1-4842-4877-5 / 9781484248775 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich