view python/example/cgiescape.py @ 862:e300310bb98c

note re pruning stopped docker containers
author Jeff Hammel <k0scist@gmail.com>
date Mon, 04 Jun 2018 15:35:03 -0700
parents 8275fa887f2b
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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