Mercurial > repo
view bin/CaT @ 3981:866c7045ad18
<shachaf> addquote <zzo38> I do sometimes work on Linux computer. I think it is set to en.UTF-8 by default although on my account I have changed it to the C locale, disabled Unicode translation, and loaded a CP437 font. <zzo38> This improves the operation of the system.
author | HackBot |
---|---|
date | Mon, 04 Nov 2013 05:13:31 +0000 |
parents | d9ab4c1c05dd |
children |
line wrap: on
line source
#!/usr/bin/env python import sys sys.stdout.write ((lambda s: "".join([(s[i].upper() if i%2==0 else s[i].lower()) for i in range(len(s)) ]))(open("/dev/stdin").read()))