Convert Python Code Into Executable Definition