I am executing Maple from Python and would like to stop the program if it exceeds a maximum time. If its a Python function this can be done by using a timeout-decorator. But I a
I think you can use
threading.Timer(TIME, function , args=(,))
To execute function after a delay