def create_directory_browser(self):
        "Find root of file system and create directory browser."
        head, tail = os.getcwd(), True
        while tail:
            head, tail = os.path.split(head)
        self.__dialog = Directory(self, initialdir=head)
Find root of file system and create directory browser.
recipes/Python/578154_Directory_Pruner_4/recipe-578154.py