EMPTYSTRING = ''
-\f
+
def needsquoting(c, quotetabs):
"""Decide whether a particular character needs to be quoted.
return ESCAPE + HEX[i/16] + HEX[i%16]
-\f
+
def encode(input, output, quotetabs):
"""Read 'input', apply quoted-printable encoding, and write to 'output'.
return outfp.getvalue()
-\f
+
def decode(input, output):
"""Read 'input', apply quoted-printable decoding, and write to 'output'.
return outfp.getvalue()
-\f
+
# Other helper functions
def ishex(c):
"""Return true if the character 'c' is a hexadecimal digit."""
return bits
-\f
+
def main():
import sys
import getopt
sys.exit(sts)
-\f
+
if __name__ == '__main__':
main()