User Tools

Site Tools


Sidebar

Computer Science

Germany

Others

Links

python:how_to_list_available_properties_and_method_of_an_object

Use the python built-in function dir()

>>> li = []
>>> dir(li)      
['append', 'count', 'extend', 'index', 'insert',
'pop', 'remove', 'reverse', 'sort']
python/how_to_list_available_properties_and_method_of_an_object.txt · Last modified: 2015/03/12 10:47 by thomas