def code_to_number(code):
    '''code_to_number(string)

    Create a starting number.
    Tranlate the code into the number.
    Return the number.'''
    number = 0
    for character in code:
        number *= 255
        number += ord(character) - 1
    return number
code_to_number(string)

    Create a starting number.
    Tranlate the code into the number.
    Return the number.
recipes/Python/440627_Encoding_A_String/recipe-440627.py