A Python application is a software program or system developed using the Python programming language. Python is a versatile, high-level programming language known for its readability and ease of use, making it a popular choice for various types of applications.
1. Log into your control panel.
For instructions on how to log into your control panel, see the links below:
For cPanel, click here
For DirectAdmin, click here
2. Navigate to the Setup Python App and click the icon to open the application.
In cPanel, this is located under the Software section.
In DirectAdmin, this is located under the Extra Features section.
3. Click on Create Application button.
4. Complete the form with your preferred details.
Python Version - The version of Python your application will utilise.
Application root - The directory where all your application files will be stored.
Application URL - The URL which will serve the application.
Application startup file - The file path which will serve the .py file. (Required to entire the file path and file name)
Application entry point - You can specify the object to call for. If none is specified, cPanel will create one by default.
Environment variables - You can add environment variables for your application.
Once completed, click the Create button.
6. Click the Run Pip Install button (used to install/reinstall/uninstall PyPI packages) and then click the Save button.
7. On the same page, click the Start App button to run the application.
That's it. You have deployed your Python application.
