How Do Kernel Executor Work In Python