- 博客(2)
- 收藏
- 关注
原创 python 核心编程 18-4
from threading import Thread from thread1 import MyThread from time import clock result = [] time1 = 0 def find(file, start, number1, ob, n): try: for i in range(start, start+number1):
2017-08-20 15:54:58 230
原创 Python中的可变对象与不可变对象
Python中的可变对象与不可变对象Python中的对象在Python中“万物皆对象”。 所有的Python对象都有三个特性:身份,类型和值。 - 身份:每个对象都有唯一的身份标识,可以认为是该对象的内存地址。可以通过内建函数 id()来得到。 - 类型:对象的类型决定了对象可以进行什么样的操作,保存什么样的值。可以通过内建函数type()来得到。 - 值:对象表示的
2017-07-22 17:21:21 191
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人