Is there any way to clear the terminal's previous output? If so, how? Here is a code example to work off of.
print "Hello..."
#Code that clears previous terminal output
print "All cleared!"
I know that there is an iOS module for the mobile app pythonista that can do this, but I am wondering how to do it on Linux.