Python How-To includes over 60 detailed answers to questions like How do I join and split strings? Python How-To 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. Author Yong Cui’s clear and practical writing is perfect for beginners and veterans alike, with insightful code snippets, interesting graphics, and challenging exercises. Along the way, you’ll learn how to take advantage of Python’s versatile tools and libraries.
How do I access dictionary keys, values, and items?
How do I set and use the return value in function calls?
How do I process JSON data?
How do I create lazy attributes to improve performance?
How do I change variables in a different namespace?
…and much more
about the technology
No matter where you are on your Python journey, you’re going to run into situations where you ask “How do I do that?” This book gives you concrete answers to the most common questions in areas like manipulating text, working with collections, managing objects and functions, file management, and so on.
about the book
Python How-To is full of techniques and best practices for writing readable and maintainable Python code, with careful cross-referencing that reveals how the same concept can be used in different contexts. Each chapter stands alone, so you can dip in whenever you need a practical solution to a common Python problem.
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.