title: Python urllib.urlretrieve and user agent
body: <p>I am retrieving an xml file from a network device.  It returns the file in a different format without html tags if I do not specify a user agent.</p>
  
  <p>import urllib</p>
  
  <p>urllib.urlretrieve (url, file_save_name)</p>
  
  <p>How do I specify a user agent when retrieving?</p>