1 2 3 4 5 6 7 8 9
from datetime import datetime # noinspection PyUnresolvedReferences def _action_time(_input): now = datetime.now() time = now.strftime("%Hh%M") say(f"Il est {time}") return