mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
count.py
This commit is contained in:
11
rootfs_overlay/lkmc/python/count.py
Executable file
11
rootfs_overlay/lkmc/python/count.py
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# https://cirosantilli.com/linux-kernel-module-cheat#python
|
||||
|
||||
import time
|
||||
|
||||
i = 0
|
||||
while True:
|
||||
print(i)
|
||||
time.sleep(1)
|
||||
i += 1
|
||||
Reference in New Issue
Block a user