Better Python Code: A Guide for Aspiring Experts
Better Python Code: A Guide for Aspiring Experts
Mertz, David
product information
Condition: New, UPC: 9780138320942, Type: Paperback ,
join & start selling
description
hat "Mostly Works" to Code That Is Expressive, Robust, and Efficient

Python is arguably the most-used programming language in the world, with applications from primary school education to workaday web development, to the most advanced scientific research institutes. While there are many ways to perform a task in Python, some are wrong, inelegant, or inefficient. Better Python Code is a guide to "Pythonic" programming, a collection of best practices, ways of working, and nuances that are easy to miss, especially when ingrained habits are borrowed from other programming languages.

Author David Mertz presents concrete and concise examples of various misunderstandings, pitfalls, and bad habits in action. He explains why some practices are better than others, based on his 25+ years of experience as an acclaimed contributor to the Python community. Each chapter thoroughly covers related clusters of concepts, with chapters sequenced in ascending order of sophistication.

Whether you are starting out with Python or are an experienced developer pushing through the limitations of your Python code, this book is for all who aspire to be more Pythonic when writing better Python code.

  • Use the right kind of loops in Python
  • Learn the ins and outs of mutable and immutable objects
  • Get expert advice to avoid Python "gotchas"
  • Examine advanced Python topics
  • Navigate the "attractive nuisances" that exist in Python
  • Learn the most useful data structures in Python and how to avoid misusing them
  • Avoid security mistakes
  • Understand the basics of numeric computation, including floating point numbers and numeric datatypes

"My high expectations for this engaging Python book have been exceeded: it offers a great deal of insight for intermediate or advanced programmers to improve their Python skills, includes copious sharing of precious experience practicing and teaching the language, yet remains concise, easy to read, and conversational."
--From the Foreword by Alex Martelli

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

reviews

Be the first to write a review

member goods

No member items were found under this heading.

notems store

listens & views

SONGS FROM THE ROAD (OGV)

by COHEN,LEONARD

VINYL LP

out of stock

$32.99

DAY #2349

by DANIKA AND THE JEB

COMPACT DISC

out of stock

$29.99

MYTH

by HALL,ROB

COMPACT DISC

out of stock

$14.99

FIRE: DELUXE (DLX) (UK)

by RYAN,DEREK

COMPACT DISC

out of stock

$16.99

Return Policy

All sales are final

Shipping

No special shipping considerations available.
Shipping fees determined at checkout.
promoting relevance through notable postings ]
share it, buy it, sell it ]

A notem is a post that highlights an experience, idea, topic of interest, an event ... whatever a member believes worthy of discussion. Each notem becomes a pathway by which to make meaningful connections.

notems is a free, global social network that rewards members by the number and quality of notems they post.

notemote® © . Privacy Policy. Developed by Hartmann Software Group