Python Humanize timedelta without Arrow or Humanize library
Given 2 dates that are formatted from a string to arrow type.
>>> from datetime import datetime
>>> start = datetime.now()
>>> end = datetime.now()
>>> diff = end - start
Python Humanize timedelta without Arrow or Humanize library
Given 2 dates that are formatted from a string to arrow type.
>>> from datetime import datetime
>>> start = datetime.now()
>>> end = datetime.now()
>>> diff = end - start
##Installing a custom SSL cert on Unifi Controller
Requirements:
import random | |
import StringIO | |
import sys | |
import time | |
text_color = [ | |
'\033[90m', # GREY | |
'\033[91m', # RED | |
'\033[97m', # WHITE | |
'\033[92m', # GREEN |