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
data
scripts
reverse.py
1
#!/usr/bin/env python
2
#coding: utf-8
3
import
sys
4
from
common
import
reverse_items
5
6
if
len(sys.argv) != 3:
7
print
"Reverse key and value of all pairs"
8
print
"Usage: "
, sys.argv[0],
"[input] [output]"
9
exit(1)
10
11
reverse_items(sys.argv[1], sys.argv[2])
Generated on Fri May 17 2013 14:16:34 for Open Chinese Convert by
1.8.3.1