I'm trying to get the number of weeks in any month. for example:

`for this month August 2016, the days of the month streches over 5 weeks. while for October 2016 the number of weeks are 6`. 

Is there any elegant way to find out this number? tried using calendar and datetime but I couldn't find anything that can help me solve my problem.

> 
> P.S I'm using python 2.6
> 
> 
> 

Thanks in advance!