modulesthe big picture this begins our in-depth look at the python module--the highest-level program organization unitwhich packages program code and data for reuseand provides selfcontained namespaces that minimize variable name clashes across your programs in concrete termsmodules typically correspond to python program files each file is moduleand modules import other modules to use the names they define modules might also correspond to extensions coded in external languages such as cjavaor #and even to directories in package imports modules are processed with two statements and one important functionimport lets client (importerfetch module as whole from allows clients to fetch particular names from module imp reload (reload in xprovides way to reload module' code without stopping python introduced module fundamentalsand we've been using them ever since the goal here is to expand on the core module concepts you're already familiar withand move on to explore more advanced module usage this first reviews module basicsand offers general look at the role of modules in overall program structure in the that followwe'll dig into the coding details behind the theory along the waywe'll flesh out module details omitted so far--you'll learn about reloadsthe __name__ and __all__ attributespackage importsrelative import syntax namespace packagesand so on because modules and classes are really just glorified namespaceswe'll formalize namespace concepts here as well why use modulesin shortmodules provide an easy way to organize components into system by serving as self-contained packages of variables known as namespaces all the names defined at