title: Converting degrees-minutes to radians from data in a text file
body: <p>For example in my text file, <a href="http://pastebin.com/fdKPxidx" rel="nofollow">Data.txt</a>:</p>
  
  <pre><code>AB     N05-30-00E      495.85        
  BC     N46-02-00E      850.62       
  CD     S67-38-00E      855.45       
  DE     S12-25-00E     1020.87      
  EF     S83-44-00W     1117.26     
  FA     N55-09-00W      660.08
  </code></pre>
  
  <p>These are the sides, bearing and the length/distance respectively. How can I convert this to radians? (after that I will get the latitude and departures, but I will do that later if only I could get this one first) Then I write a txt file with the results, the fourth and fifth are the latitude and departure.</p>
  
  <pre><code>import math
  
  fileread = open("Data.txt","r")
  data = fileread.read
  #missing code, convert the string to degrees decimal?
  print "%.3f" %  math.cos(math.radians())
  </code></pre>