[Tutor] help

RIDDLE BOX riddlebox@vitalogy.org
Mon, 1 Oct 2001 11:37:15 -0700


I am having trouble trying to get a loop into my program, and I am wondering if someone could help me better understand using "while"?

here is a copy of the code that I am having trouble with if someone could explain what I am doing wrong I would appreciate it thanks

    def second_chance(self):
            j = second
            while j = open:
            read = raw_input("where is the file located?")
            inp = open(read, "r")
            for line in inp.readlines():
                print line



------------------------------------------------------------
This Email Is Provided Free Of Charge Thanks To http://www.vitalogy.org
Sponsored by: http://www.iminteractive.net Internet Solutions, web host & more!