title: Renaming the keys of a dictionary
body: <p>How to change a key in a Python dictionary?</p>
  
  <p>A routine returns a dictionary.
  Everything is OK with the dictionary except a couple keys need to be renamed.  This code below copies the dictionary entry (key=value) into a new entry with the desired key and then deletes the old entry.  Is there a more Pythonic way, perhaps without duplicating the value?</p>
  
  <pre><code>my_dict = some_library.some_method(scan)
  my_dict['qVec'] = my_dict['Q']
  my_dict['rVec'] = my_dict['R']
  del my_dict['Q'], my_dict['R']
  return my_dict
  </code></pre>