Download this PDF book: Python How-To by Yong Cui
Have 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.
Python How-To includes over 60 detailed answers to questions like
How do I join and split strings?
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
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.
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.
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.
Contents:
1 Developing a pragmatic learning strategy
2 Processing and formatting strings
3 Using built-in data containers
4 Dealing with sequence data
5 Iterables and control flows
6 Defining user-friendly functions
7 Using functions beyond the basics
8 Defining user-friendly classes
9 Using classes beyond the basics
10 Fundamentals of objects
11 Dealing with files
12 Logging and exception handling
13 Debugging and testing
14 Modules, packages, and environments
15 Finalizing the task management app —A detailed code
About the book:
Categories: Computers - Programming
Year: 2022
Language: English
Pages: 112
File: PDF, 5.87 MB
Free Download the Book: Python How-To by Yong Cui
PS: Share the link with your friends
If the Download link is not working, kindly drop a comment below, so we'll update the download link for you.
Happy downloading!