Python script from e-mail with html headers

I got an e-mail today with a python script attached to it. I tried running it and got a whole bunch of errors and a stack trace. After looking at the python script, I noticed that either my Thunderbird or the sender had plugged in some html code to the attachment! After removing the first and last lines, all was well.

This entry was posted in software and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *