- Clean Python
- Table of contents (8 chapters)
- Front Matter
- Pythonic Thinking
- Data Structures
- Writing Better Functions and Classes
- Working with Modules and Metaclasses
- Decorators and Context Managers
- Generators and Iterators
- Utilize New Python Features
- Debugging and Testing Python Code
- Back Matter
- About this book
- Keywords
- Clean Python: Elegant Coding in Python
- Book description
- Clean Python: Elegant Coding in Python
- How to download source code?
Clean Python
This is a preview of subscription content, access via your institution.
Table of contents (8 chapters)
Front Matter
Pythonic Thinking
Data Structures
Writing Better Functions and Classes
Working with Modules and Metaclasses
Decorators and Context Managers
Generators and Iterators
Utilize New Python Features
Debugging and Testing Python Code
Back Matter
About this book
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.
- 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
Readers with a basic Python programming knowledge who want to improve their Python programming skills by learning right way to code in Python.
Keywords
- python
- pep8
- strings
- dictionary
- modules
- class
- functions
- modules
- decorators
- generators
- debugging
- testing
- code
- Eloquent
- clean
Clean Python: Elegant Coding in Python
Read it now on the O’Reilly learning platform with a 10-day free trial.
O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
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.
- 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
Readers with a basic Python programming knowledge who want to improve their Python programming skills by learning right way to code in Python.
Clean Python: Elegant Coding in Python
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.
- 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
Readers with a basic Python programming knowledge who want to improve their Python programming skills by learning right way to code in Python.
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: Clean Python: Elegant Coding in Python , sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
4. Lead to download server to download.