Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.
/ PythonRequire Public archive

A flexible python equivalent of require() from other languages.

Notifications You must be signed in to change notification settings

GrandMoff100/PythonRequire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Require

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.
"""

Installation

With Pypi and `pip`

$ pip install pythonrequire # It might be pip3 depending on what OS you use.

With GitHub and git

$ git clone https://github.com/GrandMoff100/PythonRequire

$ cd PythonRequire

$ python setup.py install

About

A flexible python equivalent of require() from other languages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages