Display All The Sub-Modules,variables and functions inside Any package

Display All The Sub-Modules,variables and functions inside this package
====================
#Just change the import package 
import os as o
submodule = dir(o) 
#Will Display All The Sub-Modules,variables and functions inside this package

print(submodule)

================================


Comments

Popular Posts