Running a Python script when a page is loaded

Andrew Chalk achalk at
Thu Aug 28 18:14:49 CEST 2003

I am developing a CGI app, When the user loads my page I want to populate an
HTML 'select' box (drop down menu) with items from a database. What is the
best way to get my Python procedure that does this called when the page is

Many thanks

More information about the Python-list mailing list