Execute a python function from CUI