Spaces:
Runtime error
Runtime error
from datetime import datetime | |
def log(message): | |
timestamp = datetime.now().strftime('%Y-%m-%d %H:%M:%S') | |
print(f'[{timestamp}] {message}') |