null
Loading…
Skip to main content Skip to buy box

Holiday gifts by Fri, Dec 18? Order by Thu, Dec 3. Plan gifts Gifts by Dec 18? Order by Dec 3. Plan

Free shipping 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 One-Liners: Write Concise, Eloquent Python Like a Professional book cover by Christian Mayer
Paperback

Python One-Liners: Write Concise, Eloquent Python Like a Professional

by Christian Mayer

From $30.99 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $25.00 at 1,000+

Total $774.75

Paperback · 216 pages No Starch Press · 2020

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 together often pair the copies with something more. We handle the extras so you don't have to.

About the book

Python One-Liners

Python programmers will improve their computer science skills with these useful one-liners.

Python One-Liners will teach you how to read and write "one-liners": concise statements of useful functionality packed into a single line of code. You'll learn how to systematically unpack and understand any line of Python code, and write eloquent, powerfully compressed Python like an expert.

The book's five chapters cover tips and tricks, regular expressions, machine learning, core data science topics, and useful algorithms. Detailed explanations of one-liners introduce key computer science concepts and boost your coding and analytical skills. You'll learn about advanced Python features such as list comprehension, slicing, lambda functions, regular expressions, map and reduce functions, and slice assignments. You'll also learn how to:

  • Leverage data structures to solve real-world problems, like using Boolean indexing to find cities with above-average pollution
  • Use NumPy basics such as array, shape, axis, type, broadcasting, advanced indexing, slicing, sorting, searching, aggregating, and statistics
  • Calculate basic statistics of multidimensional data arrays and the K-Means algorithms for unsupervised learning
  • Create more advanced regular expressions using grouping and named groups, negative lookaheads, escaped characters, whitespaces, character sets (and negative characters sets), and greedy/nongreedy operators
  • Understand a wide range of computer science topics, including anagrams, palindromes, supersets, permutations, factorials, prime numbers, Fibonacci numbers, obfuscation, searching, and algorithmic sorting

  • By the end of the book, you'll know how to write Python at its most refined, and create concise, beautiful pieces of "Python art" in merely a single line.

    Details

    Publisher
    No Starch Press
    Author
    Christian Mayer
    Format
    Paperback
    Published
    Jun 2, 2020
    ISBN-13
    9781718500501
    ISBN-10
    1718500505
    Pages
    216
    Carton quantity
    36 copies
    Buying for a group

    Python One-Liners for groups: pricing

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

    CopiesPrice per copyYou save
    25 – 99 $30.99 38% off list
    100 – 249 $28.99 42% off list
    250 – 499 $26.99 46% off list
    500 – 999 $25.99 48% off list
    1,000+ $25.00 50% 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.

    Where can I buy 100 copies of Python One-Liners?

    BookPal sells Python One-Liners in quantity. At 100 copies the price is $28.99 a copy, against a list price of $49.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.

    • New books only, straight from the publisher
    • Volume prices apply automatically in the cart, with no code needed
    • Order at least 10 business days before you need the books (11 from mid-November through December)

    Ask a specialist about a larger or mixed order

    What does Python One-Liners cost when I buy for a group?

    Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 99 copies, $30.99 (38% off list); 100 to 249 copies, $28.99 (42% off list); 250 to 499 copies, $26.99 (46% off list); 500 to 999 copies, $25.99 (48% off list); 1,000+ copies, $25.00 (50% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.

    How fast can I get copies of Python One-Liners?

    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 group orders 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 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.

    Send for approval

    Get a yes from your approver

    Python One-Liners: Write Concise, Eloquent Python Like a Professional
    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