I want to 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(' ')print arg_listinput={}for arg in arg_list: x=arg.strip('--').split("=") print x input[x[0]]=x[1]
أكثر...
argstring="--config=gn_compare.config --factor_date=20150901"
arg_list = argstring.split(' ')print arg_listinput={}for arg in arg_list: x=arg.strip('--').split("=") print x input[x[0]]=x[1]
أكثر...