You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError Traceback (most recent call last)
in
22
23 # use parse_out_text to extract the text from the opened email
---> 24 text = parse_out_text(email)
25 # use str.replace() to remove any instances of the words
26 # ["sara", "shackleton", "chris", "germani"]
~\OneDrive\Desktop\ud120-projects-py3-jupyter-master\ud120-projects-py3-jupyter-master\utils\parse_out_email_text.py in parse_out_text(f)
23 if len(content) > 1:
24 # remove punctuation
---> 25 text_string = content[1].translate(str.maketrans("", ""),string.punctuation)
26
27 # project part 2: comment out the line below
AttributeError: module 'string' has no attribute 'maketrans'
The text was updated successfully, but these errors were encountered:
.\utils\maildir/bailey-s/deleted_items/101.
AttributeError Traceback (most recent call last)
in
22
23 # use parse_out_text to extract the text from the opened email
---> 24 text = parse_out_text(email)
25 # use str.replace() to remove any instances of the words
26 # ["sara", "shackleton", "chris", "germani"]
~\OneDrive\Desktop\ud120-projects-py3-jupyter-master\ud120-projects-py3-jupyter-master\utils\parse_out_email_text.py in parse_out_text(f)
23 if len(content) > 1:
24 # remove punctuation
---> 25 text_string = content[1].translate(str.maketrans("", ""),string.punctuation)
26
27 # project part 2: comment out the line below
AttributeError: module 'string' has no attribute 'maketrans'
The text was updated successfully, but these errors were encountered: