summaryrefslogtreecommitdiff
path: root/pexpect/tests/swapcase_echo.py
blob: 03ee9220a09bf45f7fec1a8bbe1197e988f4906a (plain)
1
2
3
4
5
6
#!/usr/bin/env python
import sys
while True:
    x = raw_input ()
    print x.swapcase()
    sys.stdout.flush()