how to run python scripts on a website
jstroud at ucla.edu
Sun Jan 22 04:42:37 CET 2006
> i have a website which runs apache on linux. it supports python (i
> think via cgi....not sure how else). anyway how can I go to a web page
> and run a python script or something like that? for example say i make
> a script which prints out all the links on another URL....how can i run
Here is a start. Put the following in your cgi-bin folder or equivalent.
Name it test.cgi
print "Content-Type: text/plain\n\n"
print "Hello, World!\n"
Now just browse it. E.g.:
More information about the Python-list