D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
python27
/
lib
/
python2.7
/
site-packages
/
pip
/
_internal
/
utils
/
Filename :
datetime.py
back
Copy
"""For when pip wants to check the date or time. """ from __future__ import absolute_import import datetime def today_is_later_than(year, month, day): # type: (int, int, int) -> bool today = datetime.date.today() given = datetime.date(year, month, day) return today > given