filmov
tv
dir and help utility methods in python | Python Tips #2 | #CodeWithAnindya

Показать описание
In this video, I demonstrate two of the most handy tools to have while you are programming in Python - "dir" and "help" methods.
The "dir" method returns a list of all the attributes and methods that a class (or an object of a class) has, whereas the "help" method returns the doc-string for a given class or a method within a class.
#python #tipsandtricks #pythonprogramming #pythontutorial #andys_cli #codewithanindya
The "dir" method returns a list of all the attributes and methods that a class (or an object of a class) has, whereas the "help" method returns the doc-string for a given class or a method within a class.
#python #tipsandtricks #pythonprogramming #pythontutorial #andys_cli #codewithanindya