This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
soft-analytics-01/scripts/utils.py

7 lines
139 B
Python
Raw Permalink Normal View History

from datetime import datetime
# Prints a line on the stdout prepended with the time
def log(msg):
print(f'[{datetime.now()}] {msg}')