Beyond the Basic Stuff with Python

Best Practices for Writing Clean Code



Bookstore > Books > Beyond the Basic Stuff with Python

Price$20.99 - $49.95
Rating
AuthorAl Sweigart
PublisherNo Starch Press
Published2020
Pages384
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101593279663
ISBN-139781593279660
EBook Hardcover Paperback

You've completed a basic Python programming tutorial or finished Al Sweigart's best selling Automate the Boring Stuff with Python. What's the next step toward becoming a capable, confident software developer?

Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program - not just in Python but in any language.

You'll learn:
- Coding style, and how to use Python's Black auto-formatting tool for cleaner code;
- Common sources of bugs, and how to detect them with static analyzers;
- How to structure the files in your code projects with the Cookiecutter template tool;
- Functional programming techniques like lambda and higher-order functions;
- How to profile the speed of your code with Python's built-in timeit and cProfile modules;
- The computer science behind Big-O algorithm analysis;
- How to make your comments and docstrings informative, and how often to write them;
- How to create classes in object-oriented programming, and why they're used to organize code.

Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself.

Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer in the process as you learn to write readable code that's easy to debug and perfectly Pythonic.


  1. (9 books)


5 5 312

Similar Books


Automate the Boring Stuff with Python, 2nd Edition

Automate the Boring Stuff with Python, 2nd Edition

by Al Sweigart

If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you?In this fully revised second edition of the best-selling classic Automate the Boring Stuff with Python, you'll learn how to use Python to writ...

Price:  $26.99  |  Publisher:  No Starch Press  |  Release:  2019

Automate the Boring Stuff with Python

Automate the Boring Stuff with Python

by Al Sweigart

If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you?In Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would take you hours to do ...

Price:  $20.98  |  Publisher:  No Starch Press  |  Release:  2015

Python Interviews

Python Interviews

by Mike Driscoll

Hear from these key Python thinkers about the current status of Python, and where it's heading in the future; Listen to their close thoughts on significant Python topics, such as Python's role in scientific computing, and machine learning; Understand the direction of Python, and what needs to change for Python 4.Each of these tw...

Price:  $34.99  |  Publisher:  Packt Publishing  |  Release:  2018

Productive and Efficient Data Science with Python

Productive and Efficient Data Science with Python

by Tirthajyoti Sarkar

This book focuses on the Python-based tools and techniques to help you become highly productive at all aspects of typical data science stacks such as statistical analysis, visualization, model selection, and feature engineering.You'll review the inefficiencies and bottlenecks lurking in the daily business process and solve them with ...

Price:  $49.99  |  Publisher:  Apress  |  Release:  2022

Programming Computer Vision with Python

Programming Computer Vision with Python

by Jan Erik Solem

If you want a basic understanding of computer vision's underlying theory and algorithms, this hands-on introduction is the ideal place to start. You'll learn techniques for object recognition, 3D reconstruction, stereo imaging, augmented reality, and other computer vision applications as you follow clear examples written in Pyth...

Price:  $22.50  |  Free ebook  |  Publisher:  O'Reilly Media  |  Release:  2012

OpenCV Computer Vision with Python

OpenCV Computer Vision with Python

by Joseph Howse

Computer Vision can reach consumers in various contexts via webcams, camera phones and gaming sensors like Kinect. OpenCV's Python bindings can help developers meet these consumer demands for applications that capture images, change their appearance and extract information from them, in a high-level language and in a standardized dat...

Price:  $16.99  |  Publisher:  Packt Publishing  |  Release:  2013

Hands-On Bitcoin Programming with Python

Hands-On Bitcoin Programming with Python

by Harish Kumar Garg

Bitcoin is a cryptocurrency that's changing the face of online payments. Hands-On Bitcoin Programming with Python teaches you to build software applications for mining and creating Bitcoins using Python.This book starts with the basics of both Bitcoin and blockchain and gives you an overview of these inherent concepts by showing you ...

Price:  $24.99  |  Publisher:  Packt Publishing  |  Release:  2018

First Semester in Numerical Analysis with Python

First Semester in Numerical Analysis with Python

by Yaning Liu

The book is based on "First semester in Numerical Analysis with Julia". The contents of the original book are retained, while all the algorithms are implemented in Python (Version 3.8.0). Python is an open source (under OSI), interpreted, general-purpose programming language that has a large number of users around the world. Pyt...

Free ebook  |  Publisher:  Self-publishing  |  Release:  2020