Clean Code in Python

Getting the most out of Python to improve your codebase

Clean Code in Python

Mariano Anaya

Getting the most out of Python to improve your codebase
Mapt Subscription
FREE
$30.00/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Clean Code in Python Book Cover
Clean Code in Python
$ 35.99
$ 25.20
Python Automation Cookbook Book Cover
Python Automation Cookbook
$ 27.99
$ 19.60
Buy 2 for $35.00
Save $28.98
Add to Cart

Book Details

ISBN 139781788835831
Paperback332 pages

Book Description

Python is currently used in many different areas such as software construction, systems administration, and data processing.

In all of these areas, experienced professionals can find examples of inefficiency, problems, and other perils, as a result of bad code. After reading this book, readers will understand these problems, and more importantly, how to correct them.

The book begins by describing the basic elements of writing clean code and how it plays an important role in Python programming. You will learn about writing efficient and readable code using the Python standard library and best practices for software design. You will learn to implement the SOLID principles in Python and use decorators to improve your code. The book delves more deeply into object oriented programming in Python and shows you how to use objects with descriptors and generators. It will also show you the design principles of software testing and how to resolve software problems by implementing design patterns in your code. In the final chapter we break down a monolithic application to a microservice one, starting from the code as the basis for a solid platform.

By the end of the book, you will be proficient in applying industry approved coding practices to design clean, sustainable and readable Python code.

Table of Contents

What You Will Learn

  • Set up tools to effectively work in a development environment
  • Explore how the magic methods of Python can help us write better code
  • Examine the traits of Python to create advanced object-oriented design
  • Understand removal of duplicated code using decorators and descriptors
  • Effectively refactor code with the help of unit tests
  • Learn to implement the SOLID principles in Python

Authors

Table of Contents

Book Details

ISBN 139781788835831
Paperback332 pages
Read More

Read More Reviews

Recommended for You

Python Automation Cookbook Book Cover
Python Automation Cookbook
$ 27.99
$ 19.60
Mastering Python Design Patterns - Second Edition Book Cover
Mastering Python Design Patterns - Second Edition
$ 35.99
$ 25.20
Learn Python Programming - Second Edition Book Cover
Learn Python Programming - Second Edition
$ 27.99
$ 19.60
Python Artificial Intelligence Projects for Beginners Book Cover
Python Artificial Intelligence Projects for Beginners
$ 19.99
$ 14.00
Mastering Python Networking - Second Edition Book Cover
Mastering Python Networking - Second Edition
$ 39.99
$ 28.00
Python GUI programming with Tkinter Book Cover
Python GUI programming with Tkinter
$ 35.99
$ 25.20