binhex
binhex — Encode and decode binhex4 files
This module encodes and decodes files in binhex4 format, a format allowing representation of Macintosh files in ASCII. On the Macintosh, both forks of a file and the finder information are encoded (or decoded), on other platforms only the data fork is handled.
Note
In Python 3.x, special Macintosh support has been removed.
The binhex
module defines the following functions:
-
binhex.binhex(input, output)
-
Convert a binary file with filename input to binhex file output. The output parameter can either be a filename or a file-like object (any object