Have you ever asked yourself, "How do I do that in Python?
About the Author: Dr Yong Cui is a scientist who has been working in the biomedicine field for over 15 years.
504 Pages
Computers + Internet, Programming Languages
Description
About the Book
Phython how-to 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. This 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.
Book Synopsis
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. 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. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Python How-To 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. About the Book This 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. What's Inside How to:
Join and split strings
Access dictionary keys, values, and items
Set and use the return value in function calls
Process JSON data
Create lazy attributes to improve performance
Change variables in a different namespace
...and much more. About the Reader For beginning to intermediate Python programmers. About the Author Dr. Yong Cui has been working with Python in bioscience for data analysis, machine learning, and tool development for over 15 years. Table of Contents 1 Developing a pragmatic learning strategy PART 1 - USING BUILT-IN DATA MODELS 2 Processing and formatting strings 3 Using built-in data containers 4 Dealing with sequence data 5 Iterables and iterations PART 2 - DEFINING FUNCTIONS 6 Defining user-friendly functions 7 Using functions beyond the basics PART 3 - DEFINING CLASSES 8 Defining user-friendly classes 9 Using classes beyond the basics PART 4 - MANIPULATING OBJECTS AND FILES 10 Fundamentals of objects 11 Dealing with files PART 5 - SAFEGUARDING THE CODEBASE 12 Logging and exception handling 13 Debugging and testing PART 6 - BUILDING A WEB APP 14 Completing a real project
From the Back Cover
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. 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.
About the reader
For beginning to intermediate Python programmers.
About the Author
Dr Yong Cui 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 behavioural 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.
Dimensions (Overall): 9.13 Inches (H) x 7.32 Inches (W) x 1.1 Inches (D)
Weight: 1.8 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 504
Genre: Computers + Internet
Sub-Genre: Programming Languages
Publisher: Manning Publications
Theme: Python
Format: Paperback
Author: Yong Cui
Language: English
Street Date: July 11, 2023
TCIN: 1009791599
UPC: 9781617299742
Item Number (DPCI): 247-14-7476
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.
Shipping details
Estimated ship dimensions: 1.1 inches length x 7.32 inches width x 9.13 inches height
Estimated ship weight: 1.8 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO, Alaska, Hawaii
Return details
This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.