1
0
Fork 0
telegraf/plugins/inputs/execd/examples/count.py
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00

12 lines
181 B
Python

#!/usr/bin/env python3
import sys
import time
COUNTER = 0
while True:
print("counter_python count=" + str(COUNTER))
sys.stdout.flush()
COUNTER += 1
time.sleep(1)