You can clone with
if os.name==('ce','nt','dos'): os.system('cls')
elif os.name=='posix': os.system('clear')
def __neg__(self): self()
Import this file (from clear import clear)
or paste the above lines of code into
your shell or in your script.
Then, use "-clear" to clear the screen, i.e:
Or call it as a function:
Or if you're on a shell, you can also type:
This file can be called as a regular program, also.
if __name__=='__main__': clear()