default)then only official mime types registered with iana are recognized (see guess_extension(type [strict]guesses the standard file extension for file based on its mime type returns string with the filename extension including the leading dot returns none for unknown types if strict is true (the default)then only official mime types are recognized guess_all_extensions(type [strict]the same as guess_extension(but returns list of all possible filename extensions init([files]initializes the module files is sequence of filenames that are read to extract type information these files contain lines that map mime type to list of acceptable file suffixes such as the followingimage/jpegtext/htmljpe jpeg jpg htm html read_mime_types(filenameloads type mapping from given filename returns dictionary mapping filename extensions to mime type strings returns none if filename doesn' exist or cannot be read add_type(typeext [strict]adds new mime type to the mapping type is mime type such as 'text/plain'ext is filename extension such as txt'and strict is boolean indicating whether the type is an officially registered mime type by defaultstrict is true quopri the quopri module performs quoted-printable transport encoding and decoding of byte strings this format is used primarily to encode -bit text files that are mostly readable as ascii but which may contain small number of non-printing or special characters (for examplecontrol characters or non-ascii characters in the range - the following rules describe how the quoted-printable encoding worksn any printable non-whitespace ascii characterwith the exception of '='is represented as is the '=character is used as an escape character when followed by two hexadecimal digitsit represents character with that value (for example'= 'the equals sign is represented by '= dif '=appears at the end of lineit denotes soft line break this only occurs if long line of input text must be split into multiple output lines spaces and tabs are left as is but may not appear at the end of line lib fl ff