Mercurial > repo
comparison IdOF @ 10073:6ce8c59cc37e
<zgrep> fetch http://sprunge.us/IdOF
author | HackBot |
---|---|
date | Sun, 01 Jan 2017 16:24:04 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10072:3713b7a6920d | 10073:6ce8c59cc37e |
---|---|
1 #!/usr/bin/env python | |
2 import sys | |
3 if len(sys.argv) != 2: | |
4 print('Incorrect usage.') | |
5 exit(1) | |
6 o = u"".encode("utf-8") | |
7 for c in sys.argv[1]: | |
8 o += c.encode("utf-8") | |
9 o += u"\u0308".encode("utf-8") | |
10 print(o) | |
11 |