python ascii码16进制转换,如何在python中将完整的ascii字符串转换为十六进制?
Ihavethisstring:string='{'id':'other_aud1_aud2','kW':15}'And,simplyput,Iwouldlikemystringtoturnintoanhexstringlikethis:'7b276964273a276f746865725f617564315f61756432272c276b57273a31357d'Havebeentryingb