I currently have a program setup to run two different ways. One way is to run over a specified time frame, and the other way is to run everyday. However, when I have it set to r
Please check this module - bdateutil
Please check the below code using above module :
from bdateutil import isbday from datetime import datetime,date now = datetime.now() val = isbday(date(now.year, now.month, now.day)) print val
Please let me know if this help.