title: Python how to get value from argparse from variable, but not the name of the variable?
body: <p>If I do args.svc_name, I was expecting equivalent to args.option1, because the svc_name's value is option1. But i got error for "'Namespace' object has no attribute 'svc_name's'"</p>
  
  <pre><code>parser = argparse.ArgumentParser(prog=None,description="test")   
  parser.add_argument("--option1", nargs="?",help="option")
  args = parser.parse_args()
  svc_name = "option1"
  print (args.svc_name)
  </code></pre>
  
  <p>Can someone help me out?</p>