Oct-26-2019, 01:31 PM
lst=[1,2,5] d=dir(lst)#content all methon and properties for i in d: print(lst.i)if i run i have
AttributeError: 'list' object has no attribute 'i'
print all method and property of list object
|
|
Messages In This Thread |
print all method and property of list object - by engmoh - Oct-26-2019, 01:31 PM
RE: print all method and property of list object - by Gribouillis - Oct-26-2019, 02:02 PM
RE: print all method and property of list object - by engmoh - Oct-26-2019, 02:18 PM
RE: print all method and property of list object - by Gribouillis - Oct-26-2019, 05:04 PM
RE: print all method and property of list object - by engmoh - Oct-26-2019, 05:33 PM
|