day4 复习回顾

mac2022-06-30  28

1.在开头

  解释器 #!usr/bin/evn python

  编码 # -*- coding:utf-8 -*-

2.编码

  ascii ->  一个字节,8位

  Unicode->   最少2位

  utf-8 ->  3个字节中文

  gbk ->  2个字节中文

转载于:https://www.cnblogs.com/ezway/p/6358114.html

最新回复(0)