01992nam a22002415i 450000100090000000300040000900500170001300800410003002000300007104000280010105000210012910000270015024500710017725000110024826400400025930000300029933600260032933700280035533800270038350400200041052012880043065000320171823277058GSU20260618112423.0230814s2024 nju 000 0 eng  a9780138320942 (paperback) aDLCbengerdacDLCdGSU00aQA76.73.P98bMER1 aMertz, David,eauthor.10aBetter python code :ba guide for aspiring experts /cDavid Mertz. aFirst. 1aHoboken :bAddison-Wesley,c©2024. axxiii, 257 pages ;c23 cm atextbtxt2rdacontent aunmediatedbn2rdamedia avolumebnc2rdacarrier aIncludes index. a"Python 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. This book 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. Each 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"--cProvided by publisher. aPython programming language