Debian Codegraph @

data/scripts/reverse.py

raw symbols SCIP
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 import sys
5
6 from common import reverse_items
7
8 if len(sys.argv) != 3:
9 print("Reverse key and value of all pairs")
10 print(("Usage: ", sys.argv[0], "[input] [output]"))
11 exit(1)
12
13 reverse_items(sys.argv[1], sys.argv[2])