How can I calculate the date of the next Friday?
I found this pendulum pretty useful. Just one line
>>> pendulum.now().next(pendulum.FRIDAY).strftime('%Y-%m-%d') '2019-04-26'