summaryrefslogtreecommitdiff
path: root/examples/helloworld_wrap.cgi
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-04-22 02:44:48 +0000
committerianb <devnull@localhost>2005-04-22 02:44:48 +0000
commit4431828c677e6104b7abc62b31a933d2793ff6cf (patch)
tree887f7b87f167a988566657304331ba8bb15ed4d6 /examples/helloworld_wrap.cgi
downloadpaste-4431828c677e6104b7abc62b31a933d2793ff6cf.tar.gz
Renamed WSGIKit to Paste
Diffstat (limited to 'examples/helloworld_wrap.cgi')
-rwxr-xr-xexamples/helloworld_wrap.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/helloworld_wrap.cgi b/examples/helloworld_wrap.cgi
new file mode 100755
index 0000000..16793bf
--- /dev/null
+++ b/examples/helloworld_wrap.cgi
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import cgiserver
+import pycgiwrapper
+cgiserver.run_with_cgi(
+ pycgiwrapper.CGIWrapper('helloworld.cgi'))