Skip to content

Instantly share code, notes, and snippets.

@Ashraf-wan
Created October 20, 2021 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ashraf-wan/0465564a00d5acbac21f7c0cde1ac02e to your computer and use it in GitHub Desktop.
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
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