def _long_to_bin(x, hex_format_string):
    return binascii.unhexlify(hex_format_string % x)
Convert a long integer into a binary string.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/crypto.py/_long_to_bin