Python One-Liners

Write Concise, Eloquent Python Like a Professional



Bookstore > Books > Python One-Liners

Price$31.98 - $43.95
Rating
AuthorChristian Mayer
PublisherNo Starch Press
Published2020
Pages216
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101718500505
ISBN-139781718500501
EBook Hardcover Paperback

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.


  1. (2 books)



5 5 6

Similar Books


Perl One-Liners

Perl One-Liners

by Peteris Krumins

Part of the fun of programming in Perl lies in tackling tedious tasks with short, efficient, and reusable code. Often, the perfect tool is the one-liner, a small but powerful program that fits in one line of code and does one thing really well.In Perl One-Liners, author and impatient hacker Peteris Krumins takes you through more than 100 ...

Price:  $7.25  |  Publisher:  No Starch Press  |  Release:  2013

Microsoft Exchange 2010 PowerShell Cookbook

Microsoft Exchange 2010 PowerShell Cookbook

by Mike Pfeiffer

Microsoft Exchange Server 2010 is a complex messaging system with many features. In order to ease the burden on IT administrations, Exchange 2010 supports a management architecture built on Windows PowerShell 2.0, called the Exchange Management Shell. Using this management architecture, administrators can gain more efficiency then ever by...

Price:  $35.99  |  Publisher:  Packt Publishing  |  Release:  2011

Coffee Break Python Slicing

Coffee Break Python Slicing

by Christian Mayer

Puzzle-based learning is an active learning technique. With code puzzles, you will learn faster, smarter, and better.Coffee Break Python Slicing is all about growing your Python expertise - one coffee at a time. The focus lies on the important slicing technique to access consecutive data ranges. Understanding slicing thoroughly is crucial...

Publisher:  Self-publishing  |  Release:  2018

Learn More Python 3 the Hard Way

Learn More Python 3 the Hard Way

by Zed A. Shaw

Zed Shaw has perfected the world's best system for becoming a truly effective Python 3.x developer. Follow it and you will succeed - just like the tens of millions of programmers he's already taught. You bring the discipline, commitment, and persistence; the author supplies everything else.In Learn Python 3 the Hard Way, Zed Shaw taught y...

Price:  $23.22  |  Publisher:  Addison-Wesley  |  Release:  2017

Learn to Program with Python

Learn to Program with Python

by Irv Kalb

Get started in the world of software development: go from zero knowledge of programming to comfortably writing small to medium-sized programs in Python. Programming can be intimidating (especially when most books on software require you to know and use obscure command line instructions) but it doesn't have to be that way!In Learn to Progr...

Price:  $39.99  |  Publisher:  Apress  |  Release:  2016

Mastering Large Datasets with Python

Mastering Large Datasets with Python

by John T. Wolohan

Modern data science solutions need to be clean, easy to read, and scalable. In Mastering Large Datasets with Python, author J.T. Wolohan teaches you how to take a small project and scale it up using a functionally influenced approach to Python coding. You'll explore methods and built-in Python tools that lend themselves to clarity and sca...

Price:  $39.99  |  Publisher:  Manning  |  Release:  2020

Python Projects for Kids

Python Projects for Kids

by Jessica Ingrassellino

Kids are always the most fast-paced and enthusiastic learners, and are naturally willing to build stuff that looks like magic at the end (when it works!). Programming can be one such magic. Being able to write a program that works helps them feel they've really achieved something. Kids today are very tech-savvy and cannot wait to enter th...

Price:  $27.99  |  Publisher:  Packt Publishing  |  Release:  2016

Bioinformatics with Python Cookbook

Bioinformatics with Python Cookbook

by Tiago Antao

If you are either a computational biologist or a Python programmer, you will probably relate to the expression "explosive growth, exciting times". Python is arguably the main programming language for big data, and the deluge of data in biology, mostly from genomics and proteomics, makes bioinformatics one of the most exc...

Price:  $54.99  |  Publisher:  Packt Publishing  |  Release:  2015