Mega Code Archive

 
Categories / Python Tutorial / CGI Web
 

A Simple CGI Script

#!/usr/bin/env python print 'Content-type: text/plain' print # Prints an empty line, to end the headers print 'Hello, world!'