Skip to content

Instantly share code, notes, and snippets.

@eduardosan
Created Aug 18, 2016
Embed
What would you like to do?
Python basic cgi
#!/usr/bin/env python
# -*- coding: UTF-8 -*-# enable debugging
import cgitb
cgitb.enable()
print("Content-Type: text/html;charset=utf-8")
print("")
print("Hello World!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment