Skip to content

Instantly share code, notes, and snippets.

@abhishtagatya
Created April 15, 2018 06:37
Show Gist options
  • Save abhishtagatya/19d24a33caea6ce8299db30fdb5dbec0 to your computer and use it in GitHub Desktop.
Save abhishtagatya/19d24a33caea6ce8299db30fdb5dbec0 to your computer and use it in GitHub Desktop.
Fun Little Word Animation With Python
#!/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)
@abhishtagatya
Copy link
Author

asciicast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment