Python 037: The dir() Function

Published: 06 July 2020
on channel: BharatOnlineDS
32
1

The built-in function dir() is used to find out which names a module defines. It returns a sorted list of strings
dir() does not list the names of built-in functions and variables. If you want a list of those, they are defined in the standard module builtins:
Code:
import sys, builtins
dir(sys)
dir(builtins)
dir()


On this page of the site you can watch the video online Python 037: The dir() Function with a duration of hours minute second in good quality, which was uploaded by the user BharatOnlineDS 06 July 2020, share the link with friends and acquaintances, this video has already been watched 32 times on youtube and it was liked by 1 viewers. Enjoy your viewing!