Python Snippets
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.
Creates a list of dates between
start
(inclusive) andend
(not inclusive).Converts a date from its ISO-8601 representation.
Converts a date to its ISO-8601 representation.
Calculates the date of
n
days ago from today.Calculates the date of
n
days from today.Calculates the month difference between two dates.
Calculates the date of
n
days from the given date.Calculates the day difference between two dates.
Checks if the given date is a weekday.
Checks if the given date is a weekend.