Home | History | Annotate | Download | only in Lib

Lines Matching defs:BinHex

1 """Macintosh binhex compression/decompression.

4 binhex(inputfilename, outputfilename)
29 __all__ = ["binhex","hexbin","Error"]
173 class BinHex:
179 ofp.write('(This file must be converted with BinHex 4.0)\n\n:')
256 def binhex(inp, out):
257 """(infilename, outfilename) - Create binhex-encoded copy of a file"""
259 ofp = BinHex(finfo, out)
311 'Premature EOF on binhex file'
316 raise Error, 'Premature EOF on binhex file'
386 raise Error, "No binhex data found"
512 binhex(fname, fname+'.hqx')