7. runpy — Locating and executing Python modules¶
New in version 2.5.
Source code: :source:`Lib/runpy.py`
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.
The runpy module provides two functions: