Skip to content

Instantly share code, notes, and snippets.

@tsonglew
Created September 4, 2018 05:46
Show Gist options
  • Save tsonglew/c07b9fd5852f5e66013e57955a824a56 to your computer and use it in GitHub Desktop.
Save tsonglew/c07b9fd5852f5e66013e57955a824a56 to your computer and use it in GitHub Desktop.
python infinite loop
#!/usr/bin/python3
for i in iter(int, 1):
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment