This module encodes and decodes files in binhex4 format, a format allowing representation of Macintosh files in ASCII. Only the data fork is handled.
The binhex module defines the following functions:
The following exception is also defined:
See also
There is an alternative, more powerful interface to the coder and decoder, see the source for details.
If you code or decode textfiles on non-Macintosh platforms they will still use the old Macintosh newline convention (carriage-return as end of line).
As of this writing, hexbin() appears to not work in all cases.
base64 — RFC 3548: Base16, Base32, Base64 Data Encodings
binascii — Convert between binary and ASCII
Enter search terms or a module, class or function name.