blob: 95e8faf12bac404f481afb2d6c50285bdafb4863 [file] [log] [blame]
Omar Ismail95b79e72024-09-11 09:47:52 -04001#!/usr/bin/env python3
Jeff Gaston3fa62a82023-10-25 15:00:25 -04002# 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="")