Skip to content
Advertisement

Tag: file-import

Codec error while reading a file in python – ‘charmap’ codec can’t decode byte 0x81 in position 3124: character maps to

I am working on a Machine Learning Project which filters spam/phishing emails out of all emails. For this, I am using the SpamAssassin dataset. The dataset contains different mails in this format: For identifying phishing emails, first thing I have to do is finding out how many web-links the email has. For doing that, I have written the following code:

Advertisement