How do i convert a string of ascii values to there original character/number in python

前端 未结 1 1158
傲寒
傲寒 2021-01-29 12:28

i have a string with numbers that i previously converted with my encoder but now i am trying to decode it ive searched around and no answers seem to work if you have any i dear

1条回答
  •  攒了一身酷
    2021-01-29 13:22

    outcome = "".join([your_decoder.decode(x) for x in string.split(" ")])
    

    0 讨论(0)
提交回复
热议问题