Last active
December 12, 2015 02:49
-
-
Save macagua/4702250 to your computer and use it in GitHub Desktop.
Cleanup action to a shell console from a Python script, is a example python script that simulate the cleanup action to a shell console, it do that to scroll the screen down lots of lines.
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
# -*- coding: utf8 -*- | |
def cls(): | |
''' Python script main function ''' | |
print "\n" * 100 | |
if __name__ == '__main__': | |
''' Python script main function ''' | |
cls() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment