Back to module index

Go to module by name

binhex

Macintosh binhex compression/decompression.

easy interface:
binhex(inputfilename, outputfilename)
hexbin(inputfilename, outputfilename)

Classes

BinHex

close(self)
close_data(self)
write(self, data)
write_rsrc(self, data)

Error

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

FInfo

HexBin

close(self)
close_data(self)
read(self, *n)
read_rsrc(self, *n)

openrsrc

close(self)
read(self, *args)
write(self, *args)

Functions

binhex

binhex(inp, out)

  binhex(infilename, outfilename): create binhex-encoded copy of a file

getfileinfo

getfileinfo(name)

hexbin

hexbin(inp, out)

  hexbin(infilename, outfilename) - Decode binhexed file

Other members

LINELEN = 64
REASONABLY_LARGE = 32768
RUNCHAR = b'\x90'

Modules

binascii

contextlib

io

os

struct

warnings