I have to parse terms like "factor_date" , "config" and take the values of those (after = ) and put that into your dictionary input.
argstring="--config=gn_compare.config --factor_date=20150901"
arg_list = argstring.split(' ')input={}for arg in arg_list: x=arg.strip('--').split("=") input[x[0]]=x[1]print input
أكثر...
argstring="--config=gn_compare.config --factor_date=20150901"
arg_list = argstring.split(' ')input={}for arg in arg_list: x=arg.strip('--').split("=") input[x[0]]=x[1]print input
أكثر...