An indispensable collection of practical tips and real-world advice for tackling common Python problems and taking your code to the next level. Features interviews with high-profile Python developers who share their tips, tricks, best practices, and real-world advice gleaned from years of experience.
The Hacker's Guide to Python will teach you how to fine tune your Python code and give you a deeper understanding of how the language works under the hood. This essential guide distills years of Python experience into a handy collection of general advice and specific tips that will help you pick the right libraries, distribute your code correctly, build future-proof programs, and optimize your programs down to the bytecode.
Author Julien Danjou, an OpenStack contributor (the largest open source project written in Python) covers a swath of important areas like scaling, testing, and porting your code. You'll also learn directly from Python experts and get real-world (and time-saving) advice on topics like unit testing, packaging code, performances and optimizations, and designing APIs. Elevate your code and get seriously good at Python with The Hacker's Guide to Python!
By:
Julien Danjou
Imprint: No Starch Press,US
Country of Publication: United States
Dimensions:
Height: 234mm,
Width: 177mm,
Weight: 368g
ISBN: 9781593278786
ISBN 10: 1593278780
Pages: 240
Publication Date: 27 December 2018
Audience:
General/trade
,
ELT Advanced
Format: Paperback
Publisher's Status: Active
Introduction Chapter 1: Starting Your Project Chapter 2: Modules, Libraries, and Frameworks Chapter 3: Documentation and Good API Practice Chapter 4: Handling Timestamps and Time Zones Chapter 5: Distributing Your Software Chapter 6: Unit Testing Chapter 7: Methods and Decorators Chapter 8: Functional Programming Chapter 9: The Abstract Syntax Tree, Hy, and Lisp-like Attributes Chapter 10: Performances and Optimizations Chapter 11: Scaling and Architecture Chapter 12: Managing Relational Databases Chapter 13: Write Less, Code More Index
Julien Danjou is a Principal Software Engineer at Red Hat and a contributor to OpenStack, the largest existing open source project written in Python. He has been a Free Software and Open Source hacker for the past 15 years.
Reviews for Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More
Serious Python contains a considerable amount of judicious battle-tested advice from an experienced developer-as well as some insightful gems from the guest contributors-making the overall effort a welcome addition to the limited number of books aimed at more advanced Python programmers. -Michael J. Ross, web developer and former Slashdot contributor