Book description
Discover the right way to code in Python. This book provides the tips and techniques you need to produce cleaner, error-free, and eloquent Python projects.
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
Product information
- Title: Clean Python: Elegant Coding in Python
- Author(s):
- Release date: May 2019
- Publisher(s): Apress
- ISBN: 9781484248782
You might also like
book
Modern C
Modern C introduces you to modern day C programming, emphasizing the unique and new features of …
book
Python Workout
Python Workout presents 50 exercises that focus on key Python 3 features. In it, expert Python …
book
Python for Excel
While Excel remains ubiquitous in the business world, recent Microsoft feedback forums are full of requests …
book
Python Algorithmic Trading Cookbook
Build a solid foundation in algorithmic trading by developing, testing and executing powerful trading strategies with …