title: date comparison in python - how to know which semester date
body: <p>I am somehow stuck in logical thinking. </p>
  
  <p>I am going to compare date for this two states: </p>
  
  <ol>
  <li>Summer semester (beginns on 16.04 - ends on 14.10)</li>
  <li>Winter semester (beginns on 15.10 - ends on 15.04)</li>
  </ol>
  
  <p>all including vacations </p>
  
  <p>how do i check what semester this month/day in? </p>
  
  <pre><code>current_month = datetime.datetime.now().month
  current_year = datetime.datetime.now().year
  current_day = datetime.datetime.now().day
  
  if current_month&gt;=10 and current_day&gt;=15:
     #winter semester
  </code></pre>
  
  <p>but i am somehow doing it too chaos. is there any python lib for date comparison for my problem?</p>