(obj)
return [member for member in dir(obj)
                if not member.startswith('_') and
                    callable(getattr(obj, member))]
Returns a list of attribute strings, found in the specified
    object, which represent callable attributes
Returns a list of attribute strings, found in the specified
    object, which represent callable attributes
Returns a list of attribute strings found in the specified object which represent callable attributes
def list_public_methods(obj):
    """Returns a list of attribute strings, found in the specified
    object, which represent callable attributes"""

    return [member for member in dir(obj)
                if not member.startswith('_') and
                    callable(getattr(obj, member))]
def list_public_methods ( obj ) : return [ member for member in dir ( obj ) if not member . startswith ( '_' ) and callable ( getattr ( obj , member ) ) ]