Lecture

Modules and Namespaces

Description

This lecture covers the concepts of modules and namespaces in Python. It explains how modules are files containing Python definitions and statements, the hierarchy of Python programs, importing modules, and the search path for modules. Additionally, it delves into namespaces, variables as labels to objects, and the scopes of names within functions. The presentation includes examples of assigning names, accessing objects, and the visibility of names within different namespaces.

About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.