/
๐Ÿ

Dir built-in function

python

When we don't know about the package module or method we use the dir() built-in function and this function return the list of module and method.

python
from XYZ import GFH
print(dir(GFH))
Edit this page
logo
Hi Mohsen save your notes