The list is:
key =['!"c5Ha:m']
how do i split it into
['!','"','c','H','a',':','m']
in order to convert it into ASCII code.
Call list on the item in the list:
list
>>> list(key[0]) ['!','"','c','H','a',':','m']