view python/cgiescape.py @ 120:339805e00f03

set python spacing back to four, by popular demand
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 27 Dec 2010 07:13:11 -0800
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

print cgi.escape(sys.stdin.read())