def __init__(self, email_dir, output_dir): os.makedirs(output_dir) self.email_dir = email_dir self.output_dir = output_dir self.scan_counter = 0 email_dir_scanner = EmailDirScanner(email_dir, lambda a, b, c: True, self.parse_email) email_dir_scanner.scan()
def __init__(self, email_dir): self.scan_counter = 0 self.emails_by_person = collections.defaultdict(int) self.emails_by_folder = collections.defaultdict(int) self.cur_person = "?" self.cur_folder = "?" email_dir_scanner = EmailDirScanner(email_dir, self._should_recurse, self._parse_email) email_dir_scanner.scan()
def __init__(self, email_dir): self.scan_counter = 0 self.email_from_to_list = [] email_dir_scanner = EmailDirScanner(email_dir, self._should_recurse, self._parse_email) email_dir_scanner.scan()
def __init__(self, email_dir): self.scan_counter = 0 self.word_map = collections.defaultdict(int) email_dir_scanner = EmailDirScanner(email_dir, self._should_recurse, self._parse_email) email_dir_scanner.scan()