view python/example/cgiescape.py @ 918:9d89288e3b4c

add script for k0s.org web install
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Jun 2024 14:39:08 -0700
parents 8275fa887f2b
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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