def add_folder(self, folder):
        path = os.path.join(self._path, '.' + folder)
        result = Maildir(path, factory=self._factory)
        maildirfolder_path = os.path.join(path, 'maildirfolder')
        if not os.path.exists(maildirfolder_path):
            os.close(os.open(maildirfolder_path, os.O_CREAT | os.O_WRONLY))
        return result
Command-line tool.
dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Maildir.add_folder--crossover with--dataset/ETHPy150Open dschwilk/bibstuff/scripts/bibsearch.py/main