Lines Matching +full:- +full:outfile
2 :mod:`mimify` --- MIME processing of mail messages
16 so-called multipart message. Each part is treated separately. Mimifying (a part
17 of) a message entails encoding the message as quoted-printable if it contains
18 any characters that cannot be represented using 7-bit ASCII. Unmimifying (a
19 part of) a message entails undoing the quoted-printable encoding. Mimify and
28 The modules defines the following user-callable functions and user-settable
32 .. function:: mimify(infile, outfile)
34 Copy the message in *infile* to *outfile*, converting parts to quoted-printable
35 and adding MIME mail headers when necessary. *infile* and *outfile* can be file
37 or a :meth:`write` method (for *outfile*)) or strings naming the files. If
38 *infile* and *outfile* are both strings, they may have the same value.
41 .. function:: unmimify(infile, outfile[, decode_base64])
43 Copy the message in *infile* to *outfile*, decoding all quoted-printable parts.
44 *infile* and *outfile* can be file objects (actually, any object that has a
46 *outfile*)) or strings naming the files. If *infile* and *outfile* are both
55 supports the ISO 8859-1 charset (Latin-1).
60 Return a MIME-encoded version of the header line in *line*.
65 By default, a part will be encoded as quoted-printable when it contains any
66 non-ASCII characters (characters with the 8th bit set), or if there are any
73 string used is stored in :const:`CHARSET`, and the default value is ISO-8859-1
74 (also known as Latin1 (latin-one)).
78 mimify.py -e [-l length] [infile [outfile]]
79 mimify.py -d [-b] [infile [outfile]]
82 standard input, *outfile* defaults to standard output. The same file can be
85 If the **-l** option is given when encoding, if there are any lines longer than
88 If the **-b** option is given when decoding, any base64 parts will be decoded as
95 Encode and decode MIME quoted-printable files.