def EncodeStringAsLong(string_to_convert):
  return long(string_to_convert.encode('hex'), 16)
Encodes an ASCII string as a python long.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/translation_helper.py/EncodeStringAsLong