Open Chinese Convert 0.4.3 A project for conversion between Traditional and Simplified Chinese

- Main Page
- Related Pages
- Modules
- Data Structures
- Files
- Examples

- File List
- Globals

All Data Structures Files Functions Variables Groups Pages
sort.py
1 #!/usr/bin/env python
2 #coding: utf-8
3 import sys
4 from common import sort_items
5
6 if len(sys.argv) != 3:
7 print "Sort the dictionary"
8 print "Usage: ", sys.argv[0], "[input] [output]"
9 exit(1)
10
11 sort_items(sys.argv[1], sys.argv[2])