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

Pluralsight

Core Python: Introspection

via Pluralsight

Overview

In this course, Core Python: Introspection, you'll explore Python's support for introspection, the ability of a program to examine - and even modify - its own structure and state through this metadata.

Python is a highly dynamic language, and this dynamism is enabled by a great deal of metadata associated with objects at runtime. In this course, Core Python 3: Introspection, you'll explore Python's support for introspection, the ability of a program to examine - and even modify - its own structure and state through this metadata. First, you'll look at introspection as the key to elegant designs or debugging complex problems. Then, you'll be introduced to Python’s facilities for introspecting live programs. Finally, you'll learn how to examine objects, types, and program state at runtime. By the end of this course you’ll know how to query objects for their attributes and inspect program state, and you’ll have a deeper knowledge of how Python programs are arranged internally.

Syllabus

  • Course Overview 1min
  • Introspecting Types 3mins
  • Introspecting Objects 4mins
  • Introspecting Scopes 3mins
  • The Inspect Module 6mins
  • An Object Introspection Tool 10mins

Taught by

Robert Smallshire

Reviews

4.6 rating at Pluralsight based on 56 ratings

Start your review of Core Python: Introspection

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.