summaryrefslogtreecommitdiffstats
path: root/ukrepl/ukrepl.py
blob: 93d15ac0e61b7768af8d89b72455aae1446f6211 (plain)
1
2
3
4
5
6
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),