If I'm reading you correctly, you want to take a list of characters and convert them to integers, with a being 1, b being 2, etc.
l = ['a','b','a','c']
k = [ord(x.upper()) - 64 for x in l]
Threw the upper()
in there so it doesn't matter whether they're upper case or lower.