blob: f4c54d9ae3e683dff35be818bfc80ff04d885571 [file] [log] [blame]
Jeff Gaston3fa62a82023-10-25 15:00:25 -04001#!/usr/bin/python3
2# This program reads stdin, prepends the current time to each line, and prints the result
3
4from datetime import datetime
5import sys
6
7for line in sys.stdin:
8 now = datetime.now()
9 print(str(now) + " " + line, end="")