About this item
Highlights
- A practical collection of the most important Python techniques.
- About the Author: Dr Yong Cui is a scientist who has been working in the biomedicine field for over 15 years.
- 454 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
A practical collection of the most important Python techniques.For beginning to intermediate Python programmers.
Python How-To by Yong Cui, walks you through the most important coding techniques in Python. Whether you are doing data science, building web applications, or writing admin scripts, you will 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.
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
Along the way, you will also learn how to take advantage of Python's versatile tools and libraries.
About the technologyNo matter where you are on your Python journey, you will run into situations where you ask yourself: "How do I do that?"
This book provides concrete answers to the most common questions in areas such as manipulating text, working with collections, managing objects and functions, file management, etc.
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 bookPython 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 readerFor 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.