opencc-sys 0.4.0+1.2.0

OpenCC bindings for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import sys

from common import reverse_items

if len(sys.argv) != 3:
    print("Reverse key and value of all pairs")
    print(("Usage: ", sys.argv[0], "[input] [output]"))
    exit(1)

reverse_items(sys.argv[1], sys.argv[2])