view python/example/cgiescape.py @ 848:a3ee050ae568

[documentation] reference links
author Jeff Hammel <k0scist@gmail.com>
date Tue, 17 Oct 2017 12:05:19 -0700
parents 8275fa887f2b
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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