python 內建函式chr,ord和unichr. 2018-12-16 254 ... ord(s) 引數s為str型別或unicode型別返回值為對應的ascii數值,是十進位制整數 >>>ord(u"a") # unicode型別 >97 ...
確定! 回上一頁