view python/example/cgiescape.py @ 925:a92db57f62f8 default tip

add lxml
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Jan 2025 09:20:00 -0800
parents 8275fa887f2b
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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