Better Python Code: A Guide for Aspiring Experts by Mertz, David

Better Python Code: A Guide for Aspiring Experts

Move Beyond Python Code That "Mostly Works" to Code That Is Expressive, Robust, and Efficient Python is...
$125.76 SGD
$125.76 SGD
SKU: 9780138320942
Product Type: Books
Please hurry! Only 0 left in stock
Author: David Mertz
Format: Paperback
Language: English
Subtotal: $125.76
10 customers are viewing this product
Better Python Code: A Guide for Aspiring Experts by Mertz, David

Better Python Code: A Guide for Aspiring Experts

$125.76

Better Python Code: A Guide for Aspiring Experts

$125.76
Author: David Mertz
Format: Paperback
Language: English

Move Beyond Python Code That "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.



Author: David Mertz
Publisher: Addison-Wesley Professional
Published: 11/24/2023
Pages: 288
Binding Type: Paperback
ISBN: 9780138320942

Returns Policy

You may return most new, unopened items within 30 days of delivery for a full refund. We'll also pay the return shipping costs if the return is a result of our error (you received an incorrect or defective item, etc.).

You should expect to receive your refund within four weeks of giving your package to the return shipper, however, in many cases you will receive a refund more quickly. This time period includes the transit time for us to receive your return from the shipper (5 to 10 business days), the time it takes us to process your return once we receive it (3 to 5 business days), and the time it takes your bank to process our refund request (5 to 10 business days).

If you need to return an item, simply login to your account, view the order using the "Complete Orders" link under the My Account menu and click the Return Item(s) button. We'll notify you via e-mail of your refund once we've received and processed the returned item.

Shipping

We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations.

When you place an order, we will estimate shipping and delivery dates for you based on the availability of your items and the shipping options you choose. Depending on the shipping provider you choose, shipping date estimates may appear on the shipping quotes page.

Please also note that the shipping rates for many items we sell are weight-based. The weight of any such item can be found on its detail page. To reflect the policies of the shipping companies we use, all weights will be rounded up to the next full pound.

Related Products

Recently Viewed Products