I am trying to figure out how I can use the field calculator with python to calculate sequential letters. For example, I would like "A,B,C,D....Z, AA,AB, AC...". I did find a code that works just fine in a regular python environment but I am having a hard time incorporating it on the field calculator.
I tried using this as the code block:
from string import ascii_lowercase
size = 1
for s in itertools.product(ascii_lowercase, repeat=size):
and "iter_all_strings()" as the expression in the field calculator but it just gives me null values.
Any help would be much appreciated, thank you.