Skip to content

Instantly share code, notes, and snippets.

@detly
Created March 30, 2015 07:55
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 detly/541280d90788a0ee7992 to your computer and use it in GitHub Desktop.
Save detly/541280d90788a0ee7992 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
import sys
import time
def main():
while True:
sys.stdout.write('\x1b[2J')
sys.stdout.write('\r\n')
sys.stdout.write('test')
sys.stdout.write('\r\n')
time.sleep(1)
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment