Toolserver:Python
This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.
Python is a high level language that can be run on the Toolserver. Python can be run as CGI scripts or via the command line.
Notes
editStart your program like this:
#!/usr/bin/env python
Always escape variables before inserting into HTML and use the built in parametrization of MySQLdb. See Tool considerations.