def string_to_number(string):
    '''string_to_number(string)

    Create a starting number.
    Tranlate the string into the number.
    Return the number.'''
    number = 1
    for character in string:
        number *= 256
        number += ord(character)
    return number
string_to_number(string)

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