From 149e3ecd58c272c54339a0d7f26ec05480d2aeb6 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 22 Sep 2011 20:11:58 +0200 Subject: ukrepl: initial commit ukrepl is the ultimate troll-engine for ascii-only users --- ukrepl/ukrepl.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 ukrepl/ukrepl.py (limited to 'ukrepl') diff --git a/ukrepl/ukrepl.py b/ukrepl/ukrepl.py new file mode 100755 index 00000000..93d15ac0 --- /dev/null +++ b/ukrepl/ukrepl.py @@ -0,0 +1,7 @@ +#!/usr/bin/python +import sys +wont_change = [ ' ', '\n'] +for line in sys.stdin: + for char in line: + if char in wont_change: print char, + else: print unichr(0xFF00 + ord(char)-32), -- cgit v1.2.3