1 # Python script to get both the data and resource fork from a BinHex encoded
4 # Last Change: 2003 Oct 25
10 conv = binhex.HexBin(input)
14 out_rsrc = out + '.rsrcfork'
15 #print 'out_rsrc=' + out_rsrc
16 print 'In file: ' + input
18 outfile = open(out_data, 'wb')
19 print ' Out data fork: ' + out_data
27 d = conv.read_rsrc(128000)
29 print ' Out rsrc fork: ' + out_rsrc
30 outfile = open(out_rsrc, 'wb')
33 d = conv.read_rsrc(128000)
40 # vim:set ts=8 sts=4 sw=4 et: