def get_national_holidays(begin, end):
 begin = datefactory(begin.year, begin.month, begin.day, begin)
 end = datefactory(end.year, end.month, end.day, end)
 holidays = [str2date(datestr, begin) for datestr in FRENCH_MOBILE_HOLIDAYS.values()]
 for year in range(begin.year, (end.year + 1)):
  for datestr in FRENCH_FIXED_HOLIDAYS.values():
   date = str2date((datestr % year), begin)
   if (date not in holidays):
    holidays.append(date)
 return [day for day in holidays if (begin <= day < end)]

def get_national_holidays ( begin , end ) : begin = datefactory ( begin . year , begin . month , begin . day , begin ) end = datefactory ( end . year , end . month , end . day , end ) holidays = [ str2date ( datestr , begin ) for datestr in FRENCH_MOBILE_HOLIDAYS . values ( ) ] for year in range ( begin . year , ( end . year + 1 ) ) : for datestr in FRENCH_FIXED_HOLIDAYS . values ( ) : date = str2date ( ( datestr % year ) , begin ) if ( date not in holidays ) : holidays . append ( date ) return [ day for day in holidays if ( begin <= day < end ) ]
return french national days off between begin and end .