Created
October 20, 2021 05:19
-
-
Save Ashraf-wan/0465564a00d5acbac21f7c0cde1ac02e to your computer and use it in GitHub Desktop.
loop for gc shell to not terminate shell while you not using it
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 | |
def loop(): | |
print("loop") | |
time.sleep(10) | |
loop() | |
loop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment