MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / encode

Function encode

Lib/quopri.py:42–103  ·  view source on GitHub ↗

Read 'input', apply quoted-printable encoding, and write to 'output'. 'input' and 'output' are files with readline() and write() methods. The 'quotetabs' flag indicates whether embedded tabs and spaces should be quoted. Note that line-ending tabs and spaces are always encoded, as per

(input, output, quotetabs, header = 0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

encodestringFunction · 0.70
mainFunction · 0.70

Calls 8

needsquotingFunction · 0.85
quoteFunction · 0.70
writeFunction · 0.70
readMethod · 0.45
writeMethod · 0.45
readlineMethod · 0.45
appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected