Python instructions for cPanel
Login to cPanel and from the Software section click "Setup Python App".
Click "CREATE APPLICATION".
From the section Python version you can change which python version will be used, add a name to the Application root section and then click "CREATE".
Click "OPEN".
If everything went right it should look like this. Go back to cPanel so we can change the text.
Click "File Manager" from the Files section.
Within the files there should be a folder with a name that matches with Application root (picture 3.). Open the folder and find the passenger_wsgi.py file, click it and then click "Edit".
Change the text on line 10 to "Hello World", remove lines 11 and 12, replace "response" with "message" on line 13 and then click "Save Changes".
Go back to cPanel and again go Software -> "Setup Python App" (picture 1.) Then click ⟳"Restart the application". After that click the link on the left.
If everything went right it should look like this.