Python quopri Functions

EditRocket provides the following information on quopri functions in the Python source code builder.

decode(input, output[,header]) - Decode the contents of the input file and write the resulting decoded binary data to the output file.

decodestring(s[,header]) - Like decode(), except that it accepts a source string and returns the corresponding decoded string.

encode(input, output, quotetabs) - Encode the contents of the input file and write the resulting quoted-printable data to the output file.

encodestring(s[, quotetabs]) - Like encode(), except that it accepts a source string and returns the corresponding encoded string.