{"product_id":"9781617299742","title":"Python How-To: 63 techniques to improve your Python code","description":"\u003cb\u003eHave you ever asked yourself, “How do I do that in Python?” If so, you’ll love this practical collection of the most important Python techniques.\u003c\/b\u003e\u003cbr\u003e\u003cbr\u003e\u003ci\u003ePython How-To\u003c\/i\u003e includes over 60 detailed answers to questions like:\u003cbr\u003e \u003cbr\u003e \u003cul\u003e \u003cli\u003eHow do I join and split strings?\u003c\/li\u003e \u003cli\u003eHow do I access dictionary keys, values, and items?\u003c\/li\u003e \u003cli\u003eHow do I set and use the return value in function calls?\u003c\/li\u003e \u003cli\u003eHow do I process JSON data?\u003c\/li\u003e \u003cli\u003eHow do I create lazy attributes to improve performance?\u003c\/li\u003e \u003cli\u003eHow do I change variables in a different namespace?\u003c\/li\u003e \u003c\/ul\u003e \u003cbr\u003e…and much more\u003cbr\u003e \u003cbr\u003e\u003ci\u003ePython How-To\u003c\/i\u003e walks you through the most important coding techniques in Python. Whether you’re doing data science, building web applications, or writing admin scripts, you’ll find answers to your “how-to” questions in this book. Inside you’ll find important insights into both Python basics and deep-dive topics to help you skill-up at any stage of your Python career. Author Yong Cui’s clear and practical writing is instantly accessible and makes it easy to take advantage of Python’s versatile tools and libraries. Perfect to be read both from cover to cover, and whenever you need help troubleshooting your code.\u003cbr\u003e \u003cbr\u003e Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.\u003cbr\u003e \u003cbr\u003eAbout the Technology\u003cbr\u003e \u003cbr\u003e\u003ci\u003ePython How-To\u003c\/i\u003e uses a simple but powerful method to lock in 63 core Python skills. You’ll start with a question, like “How do I find items in a sequence?” Next, you’ll see an example showing the basic solution in crystal-clear code. You’ll then explore interesting variations, such as finding substrings or identifying custom classes. Finally, you’ll practice with a challenge exercise before moving on to the next How-To.\u003cbr\u003e \u003cbr\u003eAbout the Book\u003cbr\u003e \u003cbr\u003eThis practical guide covers all the language features you’ll need to get up and running with Python. As you go, you’ll explore best practices for writing great Python code. Practical suggestions and engaging graphics make each important technique come to life. Author Yong Cui’s careful cross-referencing reveals how you can reuse features and concepts in different contexts.\u003cbr\u003e \u003cbr\u003eWhat’s Inside\u003cbr\u003e \u003cbr\u003eHow to:\u003cbr\u003e \u003cbr\u003e \u003cul\u003e \u003cli\u003eJoin and split strings\u003c\/li\u003e \u003cli\u003eAccess dictionary keys, values, and items\u003c\/li\u003e \u003cli\u003eSet and use the return value in function calls\u003c\/li\u003e \u003cli\u003eProcess JSON data\u003c\/li\u003e \u003cli\u003eCreate lazy attributes to improve performance\u003c\/li\u003e \u003cli\u003eChange variables in a different namespace\u003c\/li\u003e \u003c\/ul\u003e \u003cbr\u003e…and much more.\u003cbr\u003e \u003cbr\u003eAbout the Reader\u003cbr\u003e \u003cbr\u003eFor beginning to intermediate Python programmers.\u003cbr\u003e \u003cbr\u003eAbout the Author\u003cbr\u003e \u003cbr\u003e\u003cb\u003eDr. Yong Cui\u003c\/b\u003e has been working with Python in bioscience for data analysis, machine learning, and tool development for over 15 years.\u003cbr\u003e \u003cbr\u003e Table of Contents\u003cbr\u003e \u003cbr\u003e 1 Developing a pragmatic learning strategy\u003cbr\u003e PART 1 - USING BUILT-IN DATA MODELS\u003cbr\u003e 2 Processing and formatting strings\u003cbr\u003e 3 Using built-in data containers\u003cbr\u003e 4 Dealing with sequence data\u003cbr\u003e 5 Iterables and iterations\u003cbr\u003e PART 2 - DEFINING FUNCTIONS\u003cbr\u003e 6 Defining user-friendly functions\u003cbr\u003e 7 Using functions beyond the basics\u003cbr\u003e PART 3 - DEFINING CLASSES\u003cbr\u003e 8 Defining user-friendly classes\u003cbr\u003e 9 Using classes beyond the basics\u003cbr\u003e PART 4 - MANIPULATING OBJECTS AND FILES\u003cbr\u003e 10 Fundamentals of objects\u003cbr\u003e 11 Dealing with files\u003cbr\u003e PART 5 - SAFEGUARDING THE CODEBASE\u003cbr\u003e 12 Logging and exception handling\u003cbr\u003e 13 Debugging and testing\u003cbr\u003e PART 6 - BUILDING A WEB APP\u003cbr\u003e 14 Completing a real project","brand":"Manning","offers":[{"title":"Default Title","offer_id":46439141540081,"sku":"9781617299742","price":49.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0674\/5433\/7265\/files\/9781617299742_p0.jpg?v=1765885144","url":"https:\/\/shop.barnesandnoble.com\/products\/9781617299742","provider":"Barnes \u0026 Noble","version":"1.0","type":"link"}