Python How-to : 63 Techniques to Improve Your Python Code
Language: English
Published by Manning, 2023
- Softcover
- Used

Seller: GreatBookPrices, Columbia, MD, U.S.A.GreatBookPrices
AbeBooks seller since April 6, 2009
Condition: Used - As new
US$ 42.50
Quantity: Over 20 available
Add to basketItem description from seller
Unread book in perfect condition.
Seller Inventory # 44977169
- Title
- Python How-to : 63 Techniques to Improve Your Python Code
- Author
- Cui, Yong
- Publisher
- Manning
- Publication year
- 2023
- Condition
- As New
- Binding
- Soft cover
- Language
- English
- ISBN 10
- 161729974X
- ISBN 13
- 9781617299742
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.
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
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
GreatBookPrices
Columbia, MD, U.S.A.
AbeBooks seller since April 6, 2009
Shipping rates within U.S.A.
| Item | 5 to 14 business days | 8 to 14 business days |
|---|---|---|
| First item | US$ 2.64 | US$ 2.64 |
Payment methods
Store description
SuperBookDeals.com is your top source for finding new books at the absolute lowest prices, guaranteed ! We offer big discounts - everyday - on millions of titles in virtually any category, from Architecture to Zoology -- and everything in between. Discover great deals and super-savings, on professional books, text book titles, the newest computer guides, or your favorite fiction authors. You'll find it all - at HUGE SAVINGS - at SuperBookDeals. Browse through our complete online product catalog today. Serving customers around the world for years, we help thousands find just the books they're looking for -- at incredibly low, bargain prices.…
Seller's business information
Expert Trading Limited
9220 Rumsey Road, Suite 101
Columbia, MD U.S.A. 21045
Terms of sale
Company Name: GreatBookPrices
Legal Entity: Expert Trading, LLC
Address: 9220 Rumsey Road, Ste 101, Columbia MD 21046
Email address: CustomerService@SuperBookDeals.com
Phone number: 410-964-0026
consumer complaints can be addressed to address above
Registration #: 52-1713923
Authorized representative: Danielle Hainsey
Shipping terms
Internal processing of your order will take about 1-2 business days. Please allow an additional 4-14 business days for Media Mail delivery. We have multiple ship-from locations - MD,IL,NJ,UK,IN,NV,TN & GA