Python Runtime Hosting tutorial
Integrating Python Scripts with Virtuoso Using Python code to extend Virtuoso.

## Overview

The following tutorial demonstrates how Virtuoso can be extended through the use of Python.

The demonstrations in this section highlight transparent integration (hosting) between Virtuoso and the Python Runtime.

## Prerequisites

The following prerequisites ensure the usability of these tutorial demos on any platform with a Python runtime:

- Python 2.2
- Python should be compiled to have lybpython2.2 as a shared object
- Python should be compiled with -DWITH_THREADS
- Virtuoso Universal Server with Python Runtime Hosting module

## Tutorial Example

The following tutorial shows how Python scripts using cgi.py are executed within Virtuoso HTTP server.

Please follow the steps below to maximize the value of this tutorial:

1. Click on the "Run" links to actually experience the demo