We can use the built-in [code python]dir[/code] to get all the attributes of a class. To test if an attribute is a function, we can check if it is callable ...
確定! 回上一頁