File: test.py

package info (click to toggle)
python-holidays 0.86-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,296 kB
  • sloc: python: 117,830; javascript: 85; makefile: 59
file content (7 lines) | stat: -rwxr-xr-x 136 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
#!/usr/bin/python3

import holidays
import sys

us_holidays = holidays.US()
sys.exit(us_holidays.get('2014-01-01') != "New Year's Day")