Python Newbie. I am looking for a way to replace the SRC attribute in all IMG tags not using Regular expressions. (would like to use any out-of-the box HTML parser included with default Python install) I need to reduce the source from what ever it may be to:
<img src="cid:imagename">
I am trying to replace all src tags to point to the cid of an attachment for an html email so I will also need to change whatever the source is so it's simply the file name without the path or extension. Thanks in advance