Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Running Python under LAMP 2.0

LAMP 2.0 supports Python 2.7 and connecting to MySQL, Oracle, and MS SQL servers.

You can either choose to run your Python code as a CGI script or as a WSGI application.  CGI would be appropriate for simple applications or one-off tasks (i.e. create a custom query to a backend DB).  WSGI is more appropriate for use with a web application framework like Django.

For managing your python modules we recommend that you use virtualenv.  We provide an experimental web interface for setting up a virtualenv environment and installing software that can be accessed from your LAMP splash page and adding "/lampadmin/virtualenv/" to the URL path.

Installation Examples

Children Display