Python is a programming language like PHP and Ruby which allows you to create many different types of applications. More information can be found on the Python website:
This article guides you through how to set up your environment at DreamHost to use Python.
As of May 2017, DreamHost currently runs Python v2.7.3. But you can install any version you like.
You have a few options on how to deploy your Python app at DreamHost:
- Passenger – The preferred way to deploy Python apps. This is an Apache module which was originally written to support the execution of Ruby on Rails apps, but which also provides support for WSGI-compliant applications. View the Passenger article for setup details.
- CGI – Slow and not recommended.
- FastCGI – Faster than CGI and uses mod_fcgi.
Some Python website frameworks can run on DreamHost servers. These include: