The binascii module contains a number of methods to convert between binary and various ASCII-encoded binary representations. Normally, you will not use these functions directly but use wrapper modules like uu or binhex instead, this module solely exists because bit-manipulation of large amounts of data is slow in Python.
The binascii module defines the following functions:
| string) | 
| data) | 
| string) | 
| data) | 
| string[, header]) | 
| data[, quotetabs, istext, header]) | 
| string) | 
| data) | 
0x90 after a byte as a repeat
indicator, followed by a count. A count of 0 specifies a byte
value of 0x90. The routine returns the decompressed data,
unless data input data ends in an orphaned repeat indicator, in which
case the Incomplete exception is raised.
| data) | 
| data) | 
| data, crc) | 
| data[, crc]) | 
    print binascii.crc32("hello world")
    # Or, in two pieces:
    crc = binascii.crc32("hello")
    crc = binascii.crc32(" world", crc)
    print crc
| data) | 
| data) | 
| hexstr) | 
| hexstr) | 
See About this document... for information on suggesting changes.