from datetime import datetime def print_ext(msg, *args, **kwargs): msg = f'{msg} - {str(datetime.now())}' print(msg) return msg