Python is not enabled by Default in CentOS 7 along with Plesk 17 version .To enable Python do any of these
Steps 1 : Install mod_python using yum install mod_python
Step 2: Once that is installed, Go to Hosting Settings for the site and scroll down and then change these settings
