Created
June 6, 2018 14:35
-
-
Save spheppner/cbe15860fbfeb68fa741a2284d8a3ff9 to your computer and use it in GitHub Desktop.
Clear module (python3)
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
import os | |
def clear(): | |
try: | |
os.system("cls") | |
except: | |
os.system("clear") | |
# You need this module in the same folder and you can simple import it with the "import" command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment