null
Loading…
Skip to main content

Holiday gifts by Fri, Dec 18? Order by Fri, Dec 4. Plan gifts

Free shipping works great on most orders over $95 in the contiguous US

Specialists Mon–Fri, 8:30 am–5 pm PTSpecialists Mon–Fri, 8:30–5 PT866-522-6657

Python How-To: 63 techniques to improve your Python code book cover by Yong Cui
Paperback

Python How-To: 63 techniques to improve your Python code

by Yong Cui

$42.49 / copy at 25+ copies As low as $39.99 at 1,000+Your best volume price

Paperback · 504 pages Manning · 2023

Format

Paperback
Volume pricing

The more copies, the less each one costs

Applied automatically in your cart. No code needed.

More than a box of books

Turn this order into a program

Groups that order in bulk often pair the copies with something more. We handle the extras so you don't have to.

About the book

Python How-To

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.

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

The book, Python How-To: 63 techniques to improve your Python code [Bulk, Wholesale, Quantity] ISBN#9781617299742 in Paperback by Yong Cui may be ordered in bulk quantities. Minimum starts at 25 copies. Availability based on publisher status and quantity being ordered.

Details

Publisher
Manning
Author
Yong Cui
Format
Paperback
Published
Jul 11, 2023
ISBN-13
9781617299742
ISBN-10
161729974X
Pages
504
Carton quantity
14 copies
Buying for a group

Python How-To in bulk: pricing

Volume pricing applies automatically in your cart. No codes, no account needed.

CopiesPrice per copyYou save
25 – 99 $42.49 15% off list
100 – 249 $41.99 16% off list
250 – 499 $41.49 17% off list
500 – 999 $40.99 18% off list
1,000+ $39.99 20% off list
Ways groups use it

Popular for

1
Book clubs

A copy for every member, on one order.

2
Events and conferences

A book for every attendee, delivered to your venue.

3
Gifts

For clients, staff, members or volunteers.

How fast can I get copies of Python How-To?

Need them by a specific date? Request a quote and we'll confirm timing before you pay.

Can you ship to several locations or people's homes?

Yes. We ship in bulk to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.

Can I get a formal quote for approval before ordering?

Yes. Request a quote and we'll send a PDF you can forward for approval.

Do you accept purchase orders and tax-exempt orders?

Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.

What if I find a lower price?

Send us the link. We match prices from other bulk booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.

Customer reviews

What buyers say

Be the first to review
Send for approval

Get a yes from your approver

Python How-To: 63 techniques to improve your Python code
Email it to my approver

Your approver gets a link to this page with the quantity set and an "Approve and order" button. Nothing is sent until you press send in your email app.

Log In
Review Your Cart
Your cart is empty Your cart is empty Your cart is empty

Menu

Recently Viewed Recently Viewed
Back to top Back to top