Knowledge Base

Python

The following articles provide information about configuring and running Python scripts and applications on A2 Hosting servers.

Python script basics

What is the path to the Python executable? What are the correct file permissions for my Python scripts? What versions of Python are installed? Get the answers to these essential questions and more here.

Using virtualenv and pip

Learn how to use the virtualenv and pip programs to create custom environments and install Python packages.

Activating a Python virtual environment from a script file

There are scenarios where you may need to activate and use a Python virtual environment within a script file, and this article shows you how.

Installing and configuring Django with FastCGI on shared hosting

You can use the virtualenv and pip tools to install Django on a shared hosting account. This article shows you how to run Django with FastCGI, step by step.

Installing and configuring Mezzanine on shared hosting

You can use the virtualenv and pip tools to install the Django-based Mezzanine CMS on a shared hosting account. This article shows you how, step by step.

Installing TurboGears on shared hosting

Learn how to install and configure the Python-based TurboGears web application framework on a shared hosting account.

Installing MoinMoin on shared hosting

You can run MoinMoin on a shared hosting account. This article shows you how to install and configure the Python-based wiki engine.

Using Python to send e-mail messages

Learn how to send e-mail messages from your hosting account using Python.