title: How can I get the 3rd Friday of a month in Python?
body: <p>I'm trying to get stock data from Yahoo! Finance using Python 2.7.9, but I only need data for the 3rd Friday of the month. I have a function to get the data, but need a way to get the dates. I want something like this:</p>
  
  <pre><code>def get_third_fris(how_many):
      # code and stuff
      return list_of_fris
  </code></pre>
  
  <p>So that calling <code>get_third_fris(6)</code> will return a 6-item-long list of 3rd Fridays following the current date. <strong>The dates need to be Unix timestamps.</strong></p>
  
  <p>(I have pretty much no experience with <code>time</code> or <code>datetime</code>, so please explain what your code is doing.)</p>
  
  <p>Thanks!</p>