Email_Analysis icon indicating copy to clipboard operation
Email_Analysis copied to clipboard

TypeError: a bytes-like object is required, not 'str'

Open ys117vt opened this issue 10 months ago • 0 comments

Hi there,

I found your post very interesting and would like to try it out. However, the python code for the parseDates.py showed error message as shown below. I am fairly new to Python and assume this is related to the difference between Python 2 &3. Do you know the best way to solve this? Thank you so much!

Traceback (most recent call last): File "C:\Users\yang\Downloads\Marc Email\parseWords.py", line 3, in from parseDates import parseDate File "C:\Users\yang\Downloads\Marc Email\parseDates.py", line 83, in writer.writerow(["Date", "Count"]) TypeError: a bytes-like object is required, not 'str'

ys117vt avatar Apr 26 '24 04:04 ys117vt