view python/cgiescape.py @ 41:eda848575afb

chdir to the directory before running python setup.py develop as this seems to be necessary
author Jeff Hammel <k0scist@gmail.com>
date Fri, 26 Mar 2010 08:07:12 -0700
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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