# # Python / Eudora COM example # # Print the subject of each message # in the Eudora "In" mailbox. # # Author: Scott Schram # http://schram.net # from win32com.client import Dispatch euApp = Dispatch("Eudora.EuApplication.1") fol = euApp.Folder("In", 0) msgs = fol.Messages for k in range(1,msgs.Count + 1): m = msgs.Item(k) print m.Subject