Gdb Script Loop While In Python W3schools