NOTE: This project is hacky and is not best practice!
This module was for educational purposes only
from require import python_require, runtime
python_require('<myfile.py>', runtime=runtime())
"""
Now you can execute code as if the myfile.py
was above instead of the python require line.
"""
$ pip install pythonrequire # It might be pip3 depending on what OS you use.
$ git clone https://github.com/GrandMoff100/PythonRequire
$ cd PythonRequire
$ python setup.py install