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

Category

Description

Rate this product


Price: $23.00
(as of Apr 21, 2024 19:06:03 UTC – Details)



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 pollutionUse NumPy basics such as array, shape, axis, type, broadcasting, advanced indexing, slicing, sorting, searching, aggregating, and statisticsCalculate basic statistics of multidimensional data arrays and the K-Means algorithms for unsupervised learningCreate more advanced regular expressions using grouping and named groups, negative lookaheads, escaped characters, whitespaces, character sets (and negative characters sets), and greedy/nongreedy operatorsUnderstand 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.

From the Publisher

Add to Cart

Add to Cart

Add to Cart

Add to Cart

Add to Cart

Add to Cart

Customer Reviews

4.8 out of 5 stars
921

4.7 out of 5 stars
3,131

4.7 out of 5 stars
456

4.8 out of 5 stars
139

4.7 out of 5 stars
341

4.7 out of 5 stars
369

Price

$29.49$29.49 $24.49$24.49 $21.75$21.75 $23.00$23.00 $28.45$28.45 $20.00$20.00

User experience level
Beginner Beginner Beginner to Intermediate Intermediate Intermediate Intermediate

For readers who want
A fast-paced, thorough introduction to Python A practical guide to using Python for automating tedious tasks A quick and easy way to review Python fundamentals, vocabulary, syntax and more Tips to read and write Python code like an expert Fun, entertaining projects to take your Python skills to the next level Expert practical advice and tutorials to perfect your professional Python skills

Compatible with Python version
Python 3 Python 3 Python 3 Python 3 Python 3 Python 2 & 3

Special features
Covers Django, matplotlib and plotly, and pygame Covers working with files en masse, automating emails and texts, scraping the web, and more Flash card format; includes exercises and challenges to test and hone your skills Covers machine learning, data science, regex, algorithms, and more Covers modules like pygame, Pylint, pydocstyle, tkinter, python-docx, matplotlib, and pillow Covers powerful techniques like using generators, handling time zones, and applying functional programming

Page count
552 pages 592 pages 101 cards 217 pages 424 pages 240 pages

Publisher ‏ : ‎ No Starch Press; Illustrated edition (June 2, 2020)
Language ‏ : ‎ English
Paperback ‏ : ‎ 216 pages
ISBN-10 ‏ : ‎ 1718500505
ISBN-13 ‏ : ‎ 978-1718500501
Item Weight ‏ : ‎ 14.4 ounces
Dimensions ‏ : ‎ 7.02 x 0.54 x 9.29 inches