Created
April 15, 2018 06:37
-
-
Save abhishtagatya/19d24a33caea6ce8299db30fdb5dbec0 to your computer and use it in GitHub Desktop.
Fun Little Word Animation With Python
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 | |
""" Word Animation with Python """ | |
import sys | |
import time | |
import subprocess | |
string = sys.argv[1] | |
string_copy = "" | |
for char in string: | |
subprocess.call(['clear']) | |
string_copy += char | |
print(string_copy) | |
time.sleep(.1) |
Author
abhishtagatya
commented
Apr 15, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment