{"product_id":"python-how-to","title":"Python How-To","description":"\u003cp\u003e\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\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003e\u003ci\u003ePython How-To\u003c\/i\u003e includes over 60 detailed answers to questions like:\u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eHow do I join and split strings?\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eHow do I access dictionary keys, values, and items?\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eHow do I set and use the return value in function calls?\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eHow do I process JSON data?\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eHow do I create lazy attributes to improve performance?\u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cspan class=\"a-list-item\"\u003eHow do I change variables in a different namespace?\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003ePurchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eAbout the Technology\u003c\/strong\u003e\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eAbout the Book\u003c\/strong\u003e\u003c\/p\u003e\u003cp\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.\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"color: rgb(34, 34, 34); font-size: 24px; font-weight: 700;\"\u003eAbout the Author\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cb\u003eDr. Yong Cui\u003c\/b\u003e is a scientist who has been working in the biomedicine field for over 15 years. His research is focused on developing mobile health apps for behavioral interventions and building research tools for biomedical researchers. Python is his go-to language for data analysis, machine learning, and research tool development. In his spare time, he likes to blog on a variety of technical topics, including mobile development, Python programming, and artificial intelligence.\u003c\/p\u003e\u003cp\u003e\u003cspan style=\"color: rgb(34, 34, 34); font-size: 21px; font-weight: 700;\"\u003eTable of Contents\u003c\/span\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e1 Developing a pragmatic learning strategy\u003cbr\u003e\u003cstrong\u003ePART 1 - USING BUILT-IN DATA MODELS\u003cbr\u003e\u003c\/strong\u003e2 Processing and formatting strings\u003cbr\u003e3 Using built-in data containers\u003cbr\u003e4 Dealing with sequence data\u003cbr\u003e5 Iterables and iterations\u003cbr\u003e\u003cstrong\u003ePART 2 - DEFINING FUNCTIONS\u003cbr\u003e\u003c\/strong\u003e6 Defining user-friendly functions\u003cbr\u003e7 Using functions beyond the basics\u003cbr\u003e\u003cstrong\u003ePART 3 - DEFINING CLASSES\u003cbr\u003e\u003c\/strong\u003e8 Defining user-friendly classes\u003cbr\u003e9 Using classes beyond the basics\u003cbr\u003e\u003cstrong\u003ePART 4 - MANIPULATING OBJECTS AND FILES\u003cbr\u003e\u003c\/strong\u003e10 Fundamentals of objects\u003cbr\u003e11 Dealing with files\u003cbr\u003e\u003cstrong\u003ePART 5 - SAFEGUARDING THE CODEBASE\u003cbr\u003e\u003c\/strong\u003e12 Logging and exception handling\u003cbr\u003e13 Debugging and testing\u003cbr\u003e\u003cstrong\u003ePART 6 - BUILDING A WEB APP\u003cbr\u003e\u003c\/strong\u003e14 Completing a real project\u003c\/p\u003e\u003cp\u003e\u003cb\u003eeBook License\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eEnd-User Warranty and License Agreement\u003c\/p\u003e\u003cp\u003e1. Grant of License\u003c\/p\u003e\u003cp\u003eManning has authorized the download by you of an unrestricted number of copies of the electronic book (ebook) in any of the available formats. Manning grants you a nonexclusive, nontransferable license to use the ebook according to the terms and conditions herein. This License Agreement permits you to install the ebook on any and all your devices for your personal use only.\u003c\/p\u003e\u003cp\u003e2. Restrictions\u003c\/p\u003e\u003cp\u003eYou shall not: (1) share, resell, rent, assign, timeshare, distribute, or transfer all or part of the ebook or any rights granted hereunder to any other person; (2) duplicate the ebook, except for a single backup or archival copy; (3) remove any proprietary notices, labels, or marks from the ebook; (4) transfer or sublicense title to the ebook to any other party.\u003c\/p\u003e\u003cp\u003e3. Intellectual Property Protection\u003c\/p\u003e\u003cp\u003eThe ebook is owned by Manning and is protected by United States and international copyright and other intellectual property laws. Manning reserves all rights in the ebook not expressly granted herein. This license and your right to use the ebook terminate automatically if you violate any part of this Agreement. In the event of termination, you must remove the original and any copies of the ebook from all your devices.\u003c\/p\u003e\u003cp\u003e4. Source Code Supplementary Material\u003c\/p\u003e\u003cp\u003eAny source code files provided as a supplement to the book are freely available to the public for download. Reuse of the code is permitted, in whole or in part, including the creation of derivative works, provided that you acknowledge that you are using it and identify the source: title, publisher and year.\u003c\/p\u003e\u003cp\u003e5. Limited Warranty\u003c\/p\u003e\u003cp\u003eManning warrants that the ebook files, a copy of which you are authorized to download, are free from defects in the operational sense that they can be read by a PDF Reader or ePub reader, or other. EXCEPT FOR THIS EXPRESS LIMITED WARRANTY, MANNING MAKES AND YOU RECEIVE NO WARRANTIES, EXPRESS, IMPLIED, STATUTORY OR IN ANY COMMUNICATION WITH YOU, AND MANNING SPECIFICALLY DISCLAIMS ANY OTHER WARRANTY INCLUDING THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS OR A PARTICULAR PURPOSE. MANNING DOES NOT WARRANT THAT THE OPERATION OF THE EBOOK WILL BE UNINTERRUPTED OR ERROR FREE. If the ebook was purchased in the United States, the above exclusions may not apply to you as some states do not allow the exclusion of implied warranties. In addition to the above warranty rights, you may also have other rights that vary from state to state.\u003c\/p\u003e\u003cp\u003e6. Limitation of Liability\u003c\/p\u003e\u003cp\u003eIN NO EVENT WILL MANNING BE LIABLE FOR ANY DAMAGES, WHETHER ARISING FOR TORT OR CONTRACT, INCLUDING LOSS OF DATA, LOST PROFITS, OR OTHER SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR INDIRECT DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE EBOOK.\u003c\/p\u003e\u003cp\u003e7. General\u003c\/p\u003e\u003cp\u003eThis Agreement constitutes the entire agreement between you and Manning and supersedes any prior agreement concerning the ebook. This Agreement is governed by the laws of the State of New York.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Manning Publications","offers":[{"title":"Paperback","offer_id":50506327031878,"sku":"9781617299742","price":4432.0,"currency_code":"INR","in_stock":true},{"title":"E-Book","offer_id":50506327064646,"sku":"9781617299742-2","price":4333.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0754\/2797\/1142\/files\/61aL4Rz2X-L._SY385.jpg?v=1790326999","url":"https:\/\/cb-india.com\/products\/python-how-to","provider":"Computer Bookshop (India) Pvt Ltd","version":"1.0","type":"link"}