little noob in Python here. I'm doing a small personal project and I would want to convert a simple string
str='test"
to something like that:
['20', '05', '19', '20']
which would equal to 'test' in two-digit numbers. I found the 'ord' method, but it seems to convert the numbers in integer format and leave them with only one digit where it is not necessary to have two. However for my project I need those two digits and not in integer format (it's a DTMF message encoder/decoder that works with a 01-99 range of codes, which equals to one letter/symbol per number).
Any help?Thanks!