{"product_id":"better-python-code","title":"Better Python Code","description":"\u003cp\u003ePython is one of the most widely used programming languages in the world. It is used everywhere from primary school education to workaday web development, to the most advanced scientific research institutes of the world. However, like all programming languages, Python has a collection of \"Pythonic\" ways of accomplishing tasks that are easy to overlook, especially when habits are borrowed wholesale from work in other programming languages.\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003ci\u003eBetter Python Code\u003c\/i\u003e is a guide to Pythonic programming. The book presents common mistakes that Python developers make--even Python developers who have used the language for years--often because Python sometimes presents \"attractive nuisances.\" Throughout, the book is a guide to better programming in the core Python language.\u003c\/p\u003e\u003cp\u003eEach section shows a concrete but concise example of some misunderstanding or bad habit in action. Each section contains a description of what is wrong with the sample code and a suggestion for one or more better ways to code equivalent functionality without the initial pitfall. Every pitfall addressed in this book reflects foibles, errors, and misunderstandings that the author as seen in concrete, widely used code bases written by experienced developers, over his 25 years of writing Python.\u003c\/p\u003e\u003cp\u003eBoth beginners and developers with decades of experience will learn to correct limitations in the code they write after reflecting on these discussions.\u003c\/p\u003e\u003ch3\u003eAbout the Author\u003c\/h3\u003e\u003cp\u003e\u003cb\u003eDavid Mertz\u003c\/b\u003e has been a member of the Python community for 25 years. He has taught Python to scientists, developers coming from other languages, and to programming neophytes. He was a director of the Python Software Foundation (PSF) for six years and continues to serve on, or chair, a variety of PSF working groups. David is the author of several technical books and has given keynote addresses at numerous international programming conferences.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eTable of Contents\u003c\/strong\u003e:\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cem\u003eForeword\u003c\/em\u003e\u003cbr\u003eIntroduction\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eChapter 1: Looping Over the Wrong Things\u003cbr\u003eChapter 2: Confusing Equality with Identity\u003cbr\u003eChapter 3: A Grab Bag of Python Gotchas\u003cbr\u003eChapter 4: Advanced Python Usage\u003cbr\u003eChapter 5: Just Because You Can, It Doesn't Mean You Should\u003cbr\u003eChapter 6: Picking the Right Data Structure\u003cbr\u003eChapter 7: Misusing Data Structures\u003cbr\u003eChapter 8: Security\u003cbr\u003eChapter 9: Numeric Computation in Python\u003cbr\u003eAppendix: Topics for Other Books\u003c\/p\u003e","brand":"Pearson Education","offers":[{"title":"Default Title","offer_id":50506304946246,"sku":"9780138320942","price":3447.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0754\/2797\/1142\/files\/ibg.common.titledetail_0942.gif?v=1790326126","url":"https:\/\/cb-india.com\/products\/better-python-code","provider":"Computer Bookshop (India) Pvt Ltd","version":"1.0","type":"link"}