view python/cgiescape.py @ 124:2f0baf81372f

added illustration of doing aspects in python
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 08 Feb 2011 10:08:44 -0800
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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