#a= some object


# method list

import inspect
inspect.getmembers(a, predicate=inspect.ismethod)


# attribute list

vars(a)

'python' 카테고리의 다른 글

jupyter notebook 비밀번호 변경  (0) 2021.09.28
디렉토리 순회  (0) 2018.03.09
dictionary sort  (0) 2018.02.19
python2 utf8인코딩  (0) 2017.07.29
python string to dict or list etc...  (0) 2016.12.29
Posted by rjh
,