11 lines
184 B
Python
Executable file
11 lines
184 B
Python
Executable file
import re
|
|
|
|
from util import hook, http
|
|
from util.execute import eval_py
|
|
|
|
@hook.command
|
|
def python(inp):
|
|
"python <prog> -- Executes <prog> as Python code."
|
|
|
|
return eval_py(inp)
|