quopri
¶
Conversions to/from quoted-printable transport encoding as per RFC 1521.
Functions¶
a2b_qp |
Decode a string of qp-encoded data |
b2a_qp ((data[, quotetabs, istext, header]) |
Encode a string using quoted-printable encoding. |
decode (input, output[, header]) |
Read ‘input’, apply quoted-printable decoding, and write to ‘output’. |
decodestring (s[, header]) |
|
encode (input, output, quotetabs[, header]) |
Read ‘input’, apply quoted-printable encoding, and write to ‘output’. |
encodestring (s[, quotetabs, header]) |
|
ishex (c) |
Return true if the character ‘c’ is a hexadecimal digit. |
main () |
|
needsquoting (c, quotetabs, header) |
Decide whether a particular character needs to be quoted. |
quote (c) |
Quote a single character. |
unhex (s) |
Get the integer value of a hexadecimal number. |