摘要:
字符串在Python内部的表示是unicode编码,因此,在做编码转换时,通常需要以unicode作为中间编码,即先将其他编码的字符串解码(decode)成unicode,再从unicode编码(encode)成另一种编码。 Decode的作用是将其他编码的字符串转换成unicode编码,如str1 阅读全文
posted @ 2020-12-16 19:42
tomato_4
阅读(535)
评论(0)
推荐(0)
摘要:
不同的编程语言有不同的数据类型; 比如说: Python的数据类型有(dict、list、string、int、float、long、bool、None)Java的数据类型有(bool、char、byte、short、int、long、float、double)C的数据类型有(bit、bool、ch 阅读全文
posted @ 2020-12-16 19:30
tomato_4
阅读(475)
评论(0)
推荐(0)

浙公网安备 33010602011771号