comparison python/accentuate.py @ 136:a612a16f11a7

add more craziness
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 30 Mar 2011 13:25:36 -0700
parents 6d2e986c0dae
children e5c0188c5001
comparison
equal deleted inserted replaced
135:206a6f3144b2 136:a612a16f11a7
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 import random 4 import random
5 5
6 mapping = {'a': ['Ȁ', 'ȁ', 'à'], 6 mapping = {'a': ['Ȁ', 'ȁ', 'à', 'Ѧ'],
7 'b': ['Б'],
7 'c': ['ç'], 8 'c': ['ç'],
8 'e': ['ȅ'], 9 'e': ['ȅ', 'Ё', 'Є'],
9 'n': ['И'], 10 'n': ['И', 'Й'],
10 'o': ['ổ', 'ȍ'], 11 'o': ['ổ', 'ȍ', 'Ѳ'],
11 't': ['Ṱ'], 12 't': ['Ṱ'],
13 'v': ['Ѵ'],
14 'w': ['Ѡ', 'Щ']
12 } 15 }
13 16
14 if __name__ == '__main__': 17 if __name__ == '__main__':
15 import sys 18 import sys
16 arg = ' '.join(sys.argv[1:]) 19 arg = ' '.join(sys.argv[1:])