py function execution classes