comparison master/src/wecu/sac_mapper.py @ 61:cfaf5223b071

trying to get my own mapper working
author Henry S. Thompson <ht@markup.co.uk>
date Sun, 31 May 2020 12:06:44 +0000
parents 5fdca5baa4e9
children
comparison
equal deleted inserted replaced
60:5fdca5baa4e9 61:cfaf5223b071
1 #!/usr/bin/python3 1 #!/usr/bin/python3
2 import os 2 import os
3 import sys 3 import sys
4 import re 4 import re
5
6 print('args',sys.argv)
7 5
8 is_regex = sys.argv[1] == 'true' 6 is_regex = sys.argv[1] == 'true'
9 search_terms = sys.argv[2:] 7 search_terms = sys.argv[2:]
10 search_terms_counters = dict() 8 search_terms_counters = dict()
11 9