PyDocs

Nav

Internet Data Handling

encode

quopri

function (source)
  • encode(input, output, quotetabs, header=False)
Read 'input', apply quoted-printable encoding, and write to 'output'.

'input' and 'output' are binary file objects. The 'quotetabs' flag
indicates whether embedded tabs and spaces should be quoted. Note that
line-ending tabs and spaces are always encoded, as per RFC 1521.
The 'header' flag indicates whether we are encoding spaces as _ as per RFC
1522.
0 Examples
No examples for quopri/encode.
See Also
No see-alsos for quopri/encode
0 Notes
No notes for encode