Created
March 30, 2015 07:55
-
-
Save detly/541280d90788a0ee7992 to your computer and use it in GitHub Desktop.
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
#!/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