summaryrefslogtreecommitdiff
path: root/Demo/cgi/cgi1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/cgi/cgi1.py')
-rwxr-xr-xDemo/cgi/cgi1.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Demo/cgi/cgi1.py b/Demo/cgi/cgi1.py
index 9d25c7db12..842fef2541 100755
--- a/Demo/cgi/cgi1.py
+++ b/Demo/cgi/cgi1.py
@@ -8,7 +8,7 @@
# If cgi0.sh works but cgi1.py doesn't, check the #! line and the file
# permissions. The docs for the cgi.py module have debugging tips.
-print "Content-type: text/html"
-print
-print "<h1>Hello world</h1>"
-print "<p>This is cgi1.py"
+print("Content-type: text/html")
+print()
+print("<h1>Hello world</h1>")
+print("<p>This is cgi1.py")