The following articles provide information about configuring and running Python scripts and applications on A2 Hosting servers.
Get answers here to essential questions about Python script files. This article covers how to set the path to the Python executable, how to use the correct file permissions for Python scripts, and more.
The virtualenv and pip programs enable you to create custom Python environments and install Python packages. This article covers how to create and activate environments using virtualenv, and how to install packages using pip.
There are scenarios where you may need to activate and use a Python virtual environment within a script file. This article shows you how, along with a code sample you can use in your own projects.
Learn how to send e-mail messages from your hosting account using the smtplib module in Python. This article includes sample code that you can use in your own sites.
You may want to use a version of Python that is newer than what is installed on your server. Learn how to download and compile Python from source in this article.
This article provides detailed instructions on how to install and configure Django on an unmanaged server from the command line.
Learn how to install and configure Django on a Linux shared hosting account, step by step, in this article.
Learn how to install Flask and configure it on a Linux shared hosting account, step by step. This article includes code samples you can use in your own projects.