For example: 例如: >>> s = 'string' >>> hasattr(s, 'join') True >>> 'join' in dir(s) True >>> s = 'string' >>> hasat 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交