view python/example/cgiescape.py @ 891:b7d5b0dee9d1

xautolock
author Jeff Hammel <k0scist@gmail.com>
date Tue, 01 Jun 2021 07:58:53 -0700
parents 8275fa887f2b
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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