Pythonic Programming

Tips for Becoming an Idiomatic Python Programmer



Bookstore > Books > Pythonic Programming

Price$16.98 - $29.30
Rating
AuthorDmitry Zinoviev
PublisherThe Pragmatic Programmers
Published2021
Pages150
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-10168050861X
ISBN-139781680508611
EBook Hardcover Paperback

Make your good Python code even better by following proven and effective pythonic programming tips. Avoid logical errors that usually go undetected by Python linters and code formatters, such as frequent data look-ups in long lists, improper use of local and global variables, and mishandled user input. Discover rare language features, like rational numbers, set comprehensions, counters, and pickling, that may boost your productivity. Discover how to apply general programming patterns, including caching, in your Python code. Become a better-than-average Python programmer, and develop self-documented, maintainable, easy-to-understand programs that are fast to run and hard to break.

Python is one of the most popular and rapidly growing modern programming languages. With more than 200 standard libraries and even more third-party libraries, it reaches into the software development areas as diverse as artificial intelligence, bioinformatics, natural language processing, and computer vision. Find out how to improve your understanding of the spirit of the language by using one hundred pythonic tips to make your code safer, faster, and better documented.

This programming style manual is a quick reference of helpful hints and a random source of inspiration. Choose the suitable data structures for searching and sorting jobs and become aware of how a wrong choice may cause your application to be completely ineffective. Understand global and local variables, class and instance attributes, and information-hiding techniques. Create functions with flexible interfaces. Manage intermediate computation results by caching them in files and memory to improve performance and reliability. Polish your documentation skills to make your code easy for other programmers to understand. As a bonus, discover Easter eggs cleverly planted in the standard library by its developers.

Polish, secure, and speed-up your Python applications, and make them easier to maintain by following pythonic programming tips.


  1. (3 books)


4 5 24

Similar Books


Options and Derivatives Programming in C++20, 2nd Edition

Options and Derivatives Programming in C++20, 2nd Edition

by Carlos Oliveira

Master the features of C++ that are frequently used to write financial software for options and derivatives, including the STL, templates, functional programming, and numerical libraries. This book also covers new features introduced in C++20 and other recent standard releases: modules, concepts, spaceship operators, and smart pointers. Y...

Price:  $34.37  |  Publisher:  Apress  |  Release:  2020

Learn Scala Programming

Learn Scala Programming

by Slava Schmidt

The second version of Scala has undergone multiple changes to support features and library implementations. Scala 2.13, with its main focus on modularizing the standard library and simplifying collections, brings with it a host of updates.Learn Scala Programming addresses both technical and architectural changes to the redesigned standard...

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

Java-Based Real-Time Programming

Java-Based Real-Time Programming

by Klas Nilsson

Development of embedded software has for some years mainly been carried out by hardware-aware programming using the C-language, and in some cases even in assembly languages. This works well in simple cases when the application demands and the hardware are known at design time, and the size of the (statically defined) software is small. Wh...

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

Multiplayer Game Programming

Multiplayer Game Programming

by Josh Glazer, Sanjay Madhav

Networked multiplayer games are a multibillion dollar business: some games now attract tens of millions of players. In this practical, code-rich guide, Joshua Glazer and Sanjay Madhav guide you through every aspect of engineering them. Drawing on their immense experience as both game developers and instructors, the authors lead you throug...

Price:  $33.99  |  Publisher:  Addison-Wesley  |  Release:  2015

Learning Swift 2 Programming, 2nd Edition

Learning Swift 2 Programming, 2nd Edition

by Jacob Schatz

Learning Swift 2 Programming is a fast-paced, hands-on introduction to writing production-quality iOS and OS X apps with Apple's programming language. Written for developers with experience in any modern language, this book explains Swift simply and clearly, using relevant examples that solve realistic problems.Author Jacob Schatz�...

Price:  $28.32  |  Publisher:  Addison-Wesley  |  Release:  2015

A Practical Guide to Linux Commands, Editors, and Shell Programming, 4th Edition

A Practical Guide to Linux Commands, Editors, and Shell Programming, 4th Edition

by Mark G. Sobell, Matthew Helmke

Linux is today's dominant Internet server platform. System administrators and Web developers need deep Linux fluency, including expert knowledge of shells and the command line. This is the only guide with everything you need to achieve that level of Linux mastery. Renowned Linux expert Mark Sobell has brought together comprehensive, ...

Price:  $28.99  |  Publisher:  Addison-Wesley  |  Release:  2017

The Developer's Guide to Social Programming

The Developer's Guide to Social Programming

by Mark D. Hawker

In The Developer's Guide to Social Programming, Mark Hawker shows developers how to build applications that integrate with the major social networking sites. Unlike competitive books that focus on a single social media platform, this book covers all three leading platforms: Facebook, OpenSocial, and Twitter. Hawker identifies the cha...

Price:  $4.38  |  Publisher:  Addison-Wesley  |  Release:  2010

The C# Programming Language, 4th Edition

The C# Programming Language, 4th Edition

by Anders Hejlsberg, Mads Torgersen, Scott Wiltamuth, Peter Golde

The popular C# programming language combines the high productivity of rapid application development languages with the raw power of C and C++. Updated to cover the new features of C# 4.0, including dynamic binding, named and optional parameters, and covariant and contravariant generic types, this release takes the language to the next lev...

Price:  $39.99  |  Publisher:  Addison-Wesley  |  Release:  2011