Python Scripting | dir and help functions to get the documentation of an object | video - 23

Опубликовано: 08 Октябрь 2024
на канале: VRTechnologies For Automation
297
11

dir() and help() are the default functions of python for documnetation.
dir() is used to get the list of available operations/methods of an object
help() is used to get the documentation.

Syntax:
dir(str) dir(int) dir(float) dir(list) dir(tuple) dir(dict) dir(set)
Or variable=“python” ; dir(varaible)
help(str) help(int) help(float) help(list) help(tuple) help(dict) help(set)