def test3(): head = Head() try: while True: a = raw_input("command:") head.ExecuteCommand(a) except: pass head.Shutdown()