view python/cgiescape.py @ 156:a9c3a32d8385

add a function for loading modules from the web
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 27 Jul 2011 08:43:34 -0700
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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