Mercurial > hg > config
view python/example/cgiescape.py @ 835:891c38647775
-> http://k0s.org/hg/hq/
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 25 Feb 2017 13:10:40 -0800 |
parents | 8275fa887f2b |
children |
line wrap: on
line source
#!/usr/bin/env python import sys import cgi print cgi.escape(sys.stdin.read())