(self, base=None)
Initialise an instance.

        :param base: The base directory to explore under.
Initialise an instance.
Initialise an instance .
def __init__(self, base=None):
        """
        Initialise an instance.

        :param base: The base directory to explore under.
        """
        self.base = os.path.abspath(os.path.normpath(base or os.getcwd()))
        self.prefix = self.base + os.sep
        self.allfiles = None
        self.files = set()
def __init__ ( self , base = None ) : self . base = os . path . abspath ( os . path . normpath ( base or os . getcwd ( ) ) ) self . prefix = self . base + os . sep self . allfiles = None self . files = set ( )