Python mailcap Functions
EditRocket provides the following information on mailcap functions in the Python source code builder.
findmatch(caps, MIMEtype[, key[, filename[, plist]]]) - Return a 2-tuple; the first element is a string containing the command line to be executed (which can be passed to os.
getcaps() - Returns a dictionary mapping MIME types to a list of mailcap file entries.