Package moul :: Package file :: Module directory :: Class DirectoryCount
[hide private]
[frames] | no frames]

Class DirectoryCount



object --+
         |
        DirectoryCount

Counts how many files are inside a directory

Instance Methods [hide private]
  __init__(self, path)
Constructor

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]
  count
Count number of files in basepath

Inherited from object: __class__


Method Details [hide private]

__init__(self, path)
(Constructor)

 
Constructor
Parameters:
  • path (str) - absolute path to folder
Overrides: object.__init__

Property Details [hide private]

count

Count number of files in basepath

returns int or None if path doesn't exist
Get Method:
unreachable.count(self) - Count number of files in basepath
Set Method:
None                                                                  
- helper for pickle
Delete Method:
None                                                                  
- helper for pickle