Represent a program instance

Method __init__ Create a new Program object
Instance Variable uuid The unique id of this program
Instance Variable language The language of the program
Instance Variable code The source code as a string
Instance Variable settings The language specific settings object
Instance Variable sandbox The sandbox to be used
Method compile compile the program
Method execute execute the program
Method to_json_object convert to JSON object
Static Method from_json_object Generate Program object from JSON object
Method __eq__ Undocumented
Method __enter__ Undocumented
Method __exit__ Undocumented
Method __del__ Delete history and files of program in sandbox instance
def __init__(self, pgm_obj, language, sandbox=FireJail()):

Create a new Program object

uuid =

The unique id of this program

language =

The language of the program

(type: str)
code =

The source code as a string

(type: str)
settings =

The language specific settings object

sandbox =

The sandbox to be used

(type: SandBox)
def compile(self):

compile the program

def execute(self, input_testcase):

execute the program

def to_json_object(self):

convert to JSON object

@staticmethod
def from_json_object(data):

Generate Program object from JSON object

def __eq__(self, o):
Undocumented
def __enter__(self):
Undocumented
def __exit__(self, exc_type, exc_value, exc_traceback):
Undocumented
def __del__(self):

Delete history and files of program in sandbox instance

API Documentation for EXecutioner, generated by pydoctor at 2021-09-20 12:53:40.