<commit_before>#!/usr/bin/python2.7       

#* EMAIL PROJECT PYTHON               *#
#* Email_Object.py                    *#
#* ---------------------------------- *#
#* Class Declaration for Email Object *#

class Email:
    def __init__(self):
        sender = " " # Sender of Email
        date = " " # Date Email was recieved
        subject = " " # Subject of Email
        body = " " # Body of email, should only be 250 characters
        <commit_msg>Added __str__ method to class<commit_after>#!/usr/bin/python2.7       

#* EMAIL PROJECT PYTHON               *#
#* Email_Object.py                    *#
#* ---------------------------------- *#
#* Class Declaration for Email Object *#

class Email:
    def __init__(self):
        sender = " " # Sender of Email
        date = " " # Date Email was recieved
        subject = " " # Subject of Email
        body = " " # Body of email, should only be 250 characters

    def __str__(self):
    	return 'Sender: {0} \nSubject: {1} \nDate: {2} \nBody:\n{3}'\
    			.format(self.sender, self.subject, self.date, self.body)
{'fraction_non_alphanumeric': 0.18029739776951673, 'fraction_numerical': 0.013011152416356878, 'mean_word_length': 1.6332518337408313, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5674607', 'n_tokens_mistral': 335, 'n_tokens_neox': 322, 'n_words': 90}