The Python snippet collection contains helper functions for Python 3.6. It includes utilities for most common data types, such as primitivies, lists, dictionaries and date objects.
Python, Date
Creates a list of dates between start
(inclusive) and end
(not inclusive).
Python, Date
Converts a date from its ISO-8601 representation.
Python, Date
Converts a date to its ISO-8601 representation.
Python, Date
Calculates the month difference between two dates.
Python, Date
Calculates the date of n
days ago from today.
Python, Date
Calculates the day difference between two dates.
Python, Date
Calculates the date of n
days from today.
Python, Date
Checks if the given date is a weekday.
Python, Date
Checks if the given date is a weekend.
Python, Date
Calculates the date of n
days from the given date.