How to Use Python Lambda Functions
Darren Jones
34:17
Description
Python and other languages like Java, C#, and even C++ have had lambda functions added to their syntax, whereas languages like LISP or the ML family of languages, Haskell, OCaml, and F#, use lambdas as a core concept. Python lambdas are little, anonymous functions, subject to a more restrictive but more concise syntax than regular Python functions.
By the end of this course, you’ll know:
This course is mainly for intermediate to experienced Python programmers, but it is accessible to any curious minds with interest in programming. All the examples included in this tutorial have been tested with Python 3.7.
What You'll Learn?
- How Python lambdas came to be
- How lambdas compare with regular function objects
- How to write lambda functions
- Which functions in the Python standard library leverage lambdas
- When to use or avoid Python lambda functions
More details
User Reviews
Rating
Darren Jones
Instructor's CoursesDarren is an avid Pythonista and creates video tutorials for Real Python. Having followed a varied career as a nuclear industry instrumentation engineer, a musician, recording engineer and teacher, he’s always been interested in computers, spending the last 20 years producing music with them and teaching music technology. He’s written books on the subject, and spends the remainder of his time improving his Python skills, with a view to bringing them into the studio and classroom for better understanding of both music and programming.

Real Python
View courses Real Python- language english
- Training sessions 10
- duration 34:17
- Release Date 2023/04/03