Chapter 13: Modules
dependency
A module being required by another program is often called...
_main_
What is the value of the __name__ built-in variable in a module that is executed as a script by the programmer?
module
a file containing python code that can be imported and used by scripts.
_name_
a global string variable automatically added to every module that contains the name of the module.
built-in module
a module that comes pre-installed with Python
Package
an entire dictionary of modules.
reload()
function that can be used to reload and reexecute the a changed module.
from moduleName import function
how do you use only the specific variable or function from a module without loading the entire module.
module object
is simply a namespace that contains definitions from the module.
sys.modules
what area is the list of already loaded modules located.
.py
what should a module file name always end with? (when you actually import it you dont need to add the file type at the end but it needs to be this type to be found)