python课程笔记week1
老师博客:http://www.cnblogs.com/alex3714/articles/5885096.html
一些源代码
字符编码
一字节8bit位
Unicode二字节 16位
ASCII 255/93 1bytes
--> 1980 gb2312 7xxx
-->1995 GBK1.0 2W+
-->2000 GB 18030 27XXX
-->nicode 2bytes
>utf 8 en: 1 byte zh:3bytes
3默认支持中文
2 加上 # -*- coding:utf-8 -*-
注释:
单行注释 :#被注释内容
多行注释:’’’被注释内容’’’
While 循环
For循环
Python 相关知识的详细中文