Pc Time Logger [repack]
time.sleep(10) # Log every 10 seconds
(Note: You would need to install psutil and pygetwindow via pip). pc time logger
while True: try: active_window = getActiveWindowTitle() timestamp = time.strftime("%Y-%m-%d %H:%M:%S") pc time logger