title: Create namedtuple instance from string on runtime (reflection /dynamic creation)
body: <p>How can I create instance of a namedtuple dynamically? is it possible?</p>
  
  <pre><code>Msg = collections.namedtuple('Msg', 'a b c')
  ...
  mymsg = Msg(a=1,b=2,c=3)
  msg_as_dict = mymsg._asdict()
  msg_as_dict['recover_name'] = type(mymsg).__name__
  </code></pre>
  
  <p>How can I create Msg instance back from <code>msg['recover_name']</code> on runtime?</p>
  
  <p>UPDATE:
  How can I get the type of the namedtuple in runtime? meaning, get "Msg" from exists instance.</p>