Commits

Cédric Bonhomme committed 0c6fa30

proting to Python3 with 2to3

  • Participants
  • Parent commits 28efa27

Comments (0)

Files changed (1)

 
 import cgi
 import json
-import urllib
+import urllib.request, urllib.parse, urllib.error
 
 form = cgi.FieldStorage()
 address = form.getvalue("address", "photos.cedricbonhomme.org")
 
 
 # Finally print the web page.
-print "Content-type:text/html\r\n\r\n"
-print html
+print("Content-type:text/html\r\n\r\n")
+print(html)