view python/cgiescape.py @ 774:baf7ea9b9b2c

irssi evidently added some things; i dont really care
author Jeff Hammel <k0scist@gmail.com>
date Mon, 13 Jun 2016 13:11:35 -0700
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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