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