Mercurial > hg > config
view python/example/cgiescape.py @ 849:81d2f5c20ceb
python 3 string compat
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 10 Dec 2017 09:49:52 -0800 |
parents | 8275fa887f2b |
children |
line wrap: on
line source
#!/usr/bin/env python import sys import cgi print cgi.escape(sys.stdin.read())