PythonRequire
1.0.0
Примечание: этот проект хакерский и не является лучшей практикой!
Этот модуль был только для образовательных целей
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