title: Get last friday of each month in python
body: <p>I want last friday of each month for upcoming three months.</p>
  <pre><code>Friday_date = datetime.date.today()
  
      while Friday_date.weekday() != 4:
          Friday_date += datetime.timedelta(1)
  </code></pre>
  <p>This gives me the nearest friday. I want to make sure this is the last friday of this month so that i can add 28 days to get next friday.</p>