Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#!/usr/bin/env python3
import io
import sys
import re
def camelcase(matchobj):
sys.stdin = io.TextIOWrapper(sys.stdin.buffer,encoding='utf-8')
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf-8')
for x in sys.stdin:
print(re.sub(r' (.)',camelcase,x),end='')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.