File: hello.py

package info (click to toggle)
libplack-perl 1.0048-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,480 kB
  • sloc: perl: 5,288; python: 7; makefile: 4; javascript: 1
file content (10 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python
from __future__ import print_function
import os

print("Content-Type: text/plain")
print
for item in ([ "foo", "bar" ]):
    print("Hello " + item + ". ")

print("QUERY_STRING is " + os.environ['QUERY_STRING'])