def command_loop(command, desired_tuple):
    while True:
        print command
        print lb

        if attempt(desired_tuple[0], desired_tuple[1]):
            return

        print lb
        print "Oops! %s is still not %s" % (desired_tuple[0], str(desired_tuple[1]))
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/Shell/Tutorial.py/command_loop/original