Last active
December 18, 2015 16:18
-
-
Save awreece/5810014 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import unicodedata | |
import sys | |
reload(sys).setdefaultencoding("utf8") | |
s = 'u' | |
for i in xrange(1, 3000): | |
if unicodedata.category(unichr(i)) == 'Mn': | |
s += unichr(i) | |
if len(s) > 100: break | |
sys.stdout.write(s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment