Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Inspect or Gadget

EuroPython Conference via YouTube

Overview

Explore the power of introspection in Python through this 30-minute EuroPython 2017 conference talk by Hugues Lerebours and Renaud Bauvin. Delve into the often-overlooked introspection tools provided by the Python Standard Library, with a focus on the 'inspect' module. Learn how to identify generators, recover function source code, and obtain function signatures. Discover practical use cases from the speakers' experiences at Criteo, and gain insights into the potential benefits of introspection for developers. Understand the available tools, their outputs, and how to apply them effectively in your coding practice. Cover topics such as syntax, documentation, parameter extraction, type loading, module importing, and signature bundling. Conclude with important warnings and considerations when using introspection techniques.

Syllabus

Intro
How did this start
Who is your best friend
Standard Library
Inspect
Syntax
Documentation
Extract Parameters
Load Type
Import Module
Signature
Bundle
Default
introspection
line
decorator
validation step
three words of warning
Thanks
Questions
LSD

Taught by

EuroPython Conference

Reviews

Start your review of Inspect or Gadget

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.