Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.
DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.
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.