Mega Code Archive

 
Categories / Python Tutorial / CGI Web
 

Print web page content

#!/usr/bin/env python import cgitb; cgitb.enable() print 'Content-type: text/html' print print 1/0 print 'Hello, world!'