MATLAB compiler supports most of MATLAB commands, i.e., Python functions are out of this range.
You can make MATLAB app that calls the python scripts placed in the folder that the app can access to. This way, you need to have Python installed on the computer where the exe app is placed.