view python/example/cgiescape.py @ 813:446107608d89

add undo for one level only
author Jeff Hammel <k0scist@gmail.com>
date Mon, 07 Nov 2016 16:15:18 -0800
parents 8275fa887f2b
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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