Beyond the Basic Stuff with Python: Best Practices for Clean Code

6501043

Beyond the Basic Stuff with Python: Best Practices for Clean Code

Author(s): Al Sweigart
Publisher: No Starch Press
Binding: Paperback
Regular price $50.00
/
  • Free shipping on orders $45+
  • 30 day returns
  • Used - great condition
  • Low stock - 1 item left
  • Inventory on the way
Shipping calculated at checkout.

Beyond the Basic Stuff with Python shows you how to take your code from simple scripts to professional-grade applications. Moving past introductory tutorials, it walks through setting up a robust development environment and adopting tools like code formatters, linters, type checkers, and version control systems.

The book covers naming conventions, project organization, and documentation strategies that make code maintainable and easy to share. You’ll explore functional programming constructs, profiling and debugging techniques, and learn how to analyse algorithm performance using Big-O notation.

In later chapters, two classic command-line games—the Tower of Hanoi and Four-in-a-Row—are used to demonstrate best practices in real-world code. Each example comes with a detailed breakdown designed to reinforce clean design, readability, and Pythonic style.

  • Auto-format code with Black
  • Detect bugs using static analyzers
  • Structure projects with Cookiecutter
  • Profile performance with timeit and cProfile
  • Implement classes and object-oriented design
  • Apply Big-O algorithm analysis

We ship at a flat rate of $9.99 per order. Orders $45 and up ship free of charge.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed