Skip to content

Commit 009f3c7

Browse files
committed
Timer Object on Threading
1 parent 7e1b19c commit 009f3c7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/threadin_time_object.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from threading import Timer
2+
3+
4+
def show():
5+
print(f'Hello World ...')
6+
7+
8+
t = Timer(10, show)
9+
t.start()

0 commit comments

Comments
 (0)