(10-20-2009, 10:06 AM)Mr.FeellingLeSS Wrote: it won't clear, though i don't get a error...
it just skips clearer like it means nothing...
It does clear on XP, what are you using Vista or 7?
EDIT:
aahhhh I got what you were trying to do, you are calling the variable "clearer" but that is the wrong way
try defining a function, try this:
Code:
import os
import platform
def clearer():
systemver=platform.release()
if systemver=='XP':
os.system("cls")
elif systemver=='Vista':
os.system("clear")
else:
os.system("clear")
clearer()
print "TEST TEXT"
clearer()
print "TEST LTEXT"
raw_input("")