Skip to Content
Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition
book

Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition

by Brett Slatkin
November 2019
Intermediate to advanced content levelIntermediate to advanced
480 pages
13h 56m
English
Addison-Wesley Professional
Content preview from Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition

8. Robustness and Performance

Once you’ve written a useful Python program, the next step is to productionize your code so it’s bulletproof. Making programs dependable when they encounter unexpected circumstances is just as important as making programs with correct functionality. Python has built-in features and modules that aid in hardening your programs so they are robust in a wide variety of situations.

One dimension of robustness is scalability and performance. When you’re implementing Python programs that handle a non-trivial amount of data, you’ll often see slowdowns caused by the algorithmic complexity of your code or other types of computational overhead. Luckily, Python includes many of the algorithms and data structures you need to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Effective Python: 125 Specific Ways to Write Better Python, 3rd Edition

Effective Python: 125 Specific Ways to Write Better Python, 3rd Edition

Brett Slatkin
Python for Programmers

Python for Programmers

Paul Deitel, Harvey Deitel

Publisher Resources

ISBN: 9780134854717