09 2017 档案
摘要:和JAVA, C# 这些规划的语言相比,Python很灵活,很个色。语言设计有时不合逻辑,但符合直觉,很方便。对没有语言基础的人,容易上手。 列表操作中的列表切片: >>> t=[0,1,2,3,4,5,6] >>> t[1:3][1, 2] 冒号二边数字代表位置,数组下标0开始的数字就是其位置,和
阅读全文
摘要:解决办法:file()改为open(),python 3.0 不再支持file file 2to3 fixer ☐ six support ☐ In Python 2 there is a file type builtin. This is replaced with various file t
阅读全文

浙公网安备 33010602011771号