Home | History | Annotate | Download | only in python2.7

Lines Matching defs:BinHex

1 """Macintosh binhex compression/decompression.
4 binhex(inputfilename, outputfilename)
29 __all__ = ["binhex","hexbin","Error"]
172 class BinHex:
178 ofp.write('(This file must be converted with BinHex 4.0)\n\n:')
250 def binhex(inp, out):
251 """(infilename, outfilename) - Create binhex-encoded copy of a file"""
253 ofp = BinHex(finfo, out)
305 'Premature EOF on binhex file'
310 raise Error, 'Premature EOF on binhex file'
380 raise Error, "No binhex data found"
502 binhex(fname, fname+'.hqx')