def do_status(self, arg):
        ''' Print information about the arm. '''
        info = self.arm.get_info()
        max_len = len(max(info.keys(), key=len))

        print(self.style.theme('\nArm Status'))
        for key, value in info.items():
            print(self.style.help(key.ljust(max_len + 2), str(value)))
        print()
def do_status ( self , arg ) : info = self . arm . get_info ( ) max_len = len ( max ( info . keys ( ) , key = len ) ) print ( self . style . theme ( '\nArm Status' ) ) for key , value in info . items ( ) : print ( self . style . help ( key . ljust ( max_len + 2 ) , str ( value ) ) ) print ( )
Print information about the arm.