Advanced functions
There’s much more to Python functions than “def”. Learn how functions really work, including advanced parameters and scoping.
What you should know
Course Content
Course length
4 hours
Number of lessons
37
Training materials
5 PDFs + notebooks
Coding exercises
7
About the Course
Defining functions is no natural and easy in Python, it’s easy to think that there isn’t much to them.
But in fact, Python’s functions are extremely sophisticated. They’re compiled into byte codes. They support many different ways to map arguments to parameters, You can nest functions, returning closures. And that’s just the beginning.
In this course, you’ll go way beyond “def” and simple parameters, to really understand what’s happening under the hood in Python functions. You’ll write inner functions and use closures. You’ll even explore stack frames, and see how they can help us understand how Python does things.
If you write functions — and as a Python coder, you almost certainly do — but want to really understand them in depth, then this course is for you, with not only a better theoretical understanding, but also practical tips and tools for your day-to-day coding.
What you’ll learn
- All of Python’s parameter types, and how arguments are mapped to them
- How bytecodes work
- What hidden information is contained in a function’s __code__ object
- How nested functions work, and why you would want to use them
- How variables are stored in stack frames
Preview The Course
Instructor
This course, like all others on LernerPython, is taught by Reuven Lerner.
Pricing
100% Money Back Guarantee
I’m a one-person company dedicatedto improving your career via Python and related technologies. If you haven’t gotten value from any of my courses, then just tell me — and I’ll refund your money.
LernerPython
$40
per user / month
- Unlimited access to all Python, Git, Regexp courses
- Members-only forums
- Python office hours, private lectures
LernerPython + Data
$50
per user / month
- Everything in Lerner Python Level
- Unlimited access to NumPy, Pandas, and SQL courses
- Pandas office hours and private lectures
- Bamboo Weekly Subscription ($100 Annual Value)
LernerPython
$400
per user / year
- Unlimited access to all Python, Git, Regexp courses
- Members-only forums
- Python office hours, private lectures
LernerPython + Data
$500
per user / year
- Everything in Lerner Python Level
- Unlimited access to NumPy, Pandas, and SQL courses
- Pandas office hours and private lectures
- Bamboo Weekly Subscription ($100 Annual Value)