How the script is executed depends on the configured build command, and by default it calls `python` (not `python3` nor simply the script, in case it isn't executable). If you mean to use Python3, you can alter the build command either to call python3, or to call the script itself but then you need to make sure it's executable.