The runpy module is used to locate and run Python modules
without importing them first. Its main use is to implement the
-m command line switch that allows scripts to be located using
the Python module namespace rather than the filesystem. When
executed as a script, the module effectively operates as
follows: del sys.argv # Remove the runpy module from the
arguments run_module(sys.argv, run_name="__main__",
alter_sys=True) The runpy module provides a single function:
Execute the code of the specified module and return the
resulting module globals dictionary. The module’s code is first
located using the standard import mechanism (refer to PEP 302
for details) and then executed in a fresh module namespace. The
optional dictionary argument init_globals may be used to pre-
populate the globals dictionary before the code is executed. The
supplied dictionary will not be modified. If any of the special
global variables below are defined in the supplied dictionary,
those definitions are overridden by the run_module fu