view python/example/cgiescape.py @ 815:06f1c3de040c

k8s is picky about how many dashes a deployment may have
author Jeff Hammel <k0scist@gmail.com>
date Sun, 13 Nov 2016 16:02:30 -0800
parents 8275fa887f2b
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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