Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gambling Script Help
#9
(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("")
Reply


Messages In This Thread
Gambling Script Help - by Mr.FeellingLeSS - 10-19-2009, 09:20 AM
RE: Script problem... - by Gaijin - 10-19-2009, 09:24 AM
RE: Script problem... - by Mr.FeellingLeSS - 10-19-2009, 09:32 AM
RE: Script problem... - by Gaijin - 10-19-2009, 09:35 AM
RE: Script problem... - by Mr.FeellingLeSS - 10-19-2009, 12:28 PM
RE: Gambling Script Help - by Omniscient - 10-19-2009, 12:31 PM
RE: Gambling Script Help - by Fallen - 10-19-2009, 01:38 PM
RE: Gambling Script Help - by Mr.FeellingLeSS - 10-20-2009, 10:06 AM
RE: Gambling Script Help - by Gaijin - 10-20-2009, 10:10 AM
RE: Gambling Script Help - by Mr.FeellingLeSS - 10-20-2009, 10:23 AM
RE: Gambling Script Help - by Gaijin - 10-20-2009, 10:26 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)