The Python support option is missing in Domains > example.com > Hosting Settings. As a result, it is not possible to execute Python scripts on a server.
The Python module for Apache is deprecated since Plesk 17.8.
Apply one of the solutions below:
Note: the solutions below were not officially tested with the Plesk, we cannot guarantee the stability of the workarounds.