Python overview


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:

As of April 2019, DreamHost servers running Ubuntu Bionic run Python 2.7.15 and 3.6.7. You can also install any version of Python 2 or Python 3 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.

Web frameworks

Some Python website frameworks can run on DreamHost servers. These include:

See also

Did this article answer your questions?

Article last updated PST.