how to create character array in python