view python/cgiescape.py @ 755:14eee9200854

source local bashrc
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Jul 2015 13:21:29 -0700
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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