Python Modules and Packages Modules and packages. Reload a module importlib.reload(mymodule) a module is a single file with a .py extension.