Created
October 24, 2022 08:00
-
-
Save linnil1/615381e8f9569e8ca49773106b958ca5 to your computer and use it in GitHub Desktop.
Show the current time per 10 seconds to trick idle detecting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
while True: | |
print(f"{time.ctime():30s}", end="") | |
print("\b" * 30, end="", flush=True) | |
time.sleep(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment