0
How to create and add attribute to object in Python?
In android I have qpython3 and it doesn't include clear() attribue in 'list' object. How can I do? Help me guys. Thanks,
2 ответов
+ 5
In original Python console its easy ...i think it may not possible on qpython3 until the developers add it....
+ 1
Well, that's weird... You can code your own function and attach it to list.clear using :
list.clear = clear
Where clear is your function.