Friday, August 7, 2015

dir() function

dir(name) 

attribute_name= dir(name)

  • dir(name) lists files and folders that match the string name. When name is a folder, dir lists contents of the folder.
  • attribute_name= dir(name) returns attributes about name.

 

No comments:

Post a Comment