dir() Function: find out which names a module defines : Dir « Buildin Function « Python





dir() Function: find out which names a module defines


import sys

dir(sys)



           
       

Related examples in the same category

1.The dir FunctionThe dir Function
2.dir() does not list the names of built-in functions and variablesdir() does not list the names of built-in functions and variables