Create deter_char.py