Python 标准库参考指南 2.7.18 The Python Library Reference, 发布 2.7.18 otherwise it is always a list. If function is None, the identity function is assumed, that is, all elements of iterable that are false are removed. Note that filter(function loat.hex() 方法。 在 2.4 版更改: Formerly only returned an unsigned literal. id(object) Return the “identity”of an object. This is an integer (or long integer) which is guaranteed to be unique and constant iterable is shorter than another it is assumed to be extended with None items. If function is None, the identity function is assumed; if there are multiple arguments, map() returns a list consisting of tuples0 码力 | 1552 页 | 7.42 MB | 10 月前3
Python 标准库参考指南 2.7.18 The Python Library Reference, 发布 2.7.18 otherwise it is always a list. If function is None, the identity function is assumed, that is, all elements of iterable that are false are removed. Note that filter(function loat.hex() 方法。 在 2.4 版更改: Formerly only returned an unsigned literal. id(object) Return the “identity”of an object. This is an integer (or long integer) which is guaranteed to be unique and constant iterable is shorter than another it is assumed to be extended with None items. If function is None, the identity function is assumed; if there are multiple arguments, map() returns a list consisting of tuples0 码力 | 1552 页 | 7.42 MB | 10 月前3
Python 标准库参考指南 2.7.18 The Python Library Reference, 发布 2.7.18 otherwise it is always a list. If function is None, the identity function is assumed, that is, all elements of iterable that are false are removed. Note that filter(function loat.hex() 方法。 在 2.4 版更改: Formerly only returned an unsigned literal. id(object) Return the “identity”of an object. This is an integer (or long integer) which is guaranteed to be unique and constant iterable is shorter than another it is assumed to be extended with None items. If function is None, the identity function is assumed; if there are multiple arguments, map() returns a list consisting of tuples0 码力 | 1552 页 | 7.42 MB | 10 月前3
Python 标准库参考指南 3.6.15 groupby(iterable, key=None) 创建一个迭代器,返回 iterable 中连续的键和组。key 是一个计算元素键值函数。如果未指定或为 None, key 缺省为恒等函数(identity function),返回元素不变。一般来说,iterable 需用同一个键值函数预先排 序。 314 Chapter 10. 函数式编程模块 The Python Library Reference ) This class derives from BaseCookie and overrides value_decode() and value_encode() to be the identity and str() respectively. 1164 Chapter 21. 互联网协议和支持 The Python Library Reference, 发布 3.6.15 参见: ossaudiodev supersedes. ossaudiodev.openmixer([device]) Open a mixer device and return an OSS mixer device object. device is the mixer device filename to use. If it is not specified, this module first0 码力 | 1886 页 | 8.95 MB | 10 月前3
Python 标准库参考指南 3.6.15 groupby(iterable, key=None) 创建一个迭代器,返回 iterable 中连续的键和组。key 是一个计算元素键值函数。如果未指定或为 None, key 缺省为恒等函数(identity function),返回元素不变。一般来说,iterable 需用同一个键值函数预先排 序。 314 Chapter 10. 函数式编程模块 The Python Library Reference ) This class derives from BaseCookie and overrides value_decode() and value_encode() to be the identity and str() respectively. 1164 Chapter 21. 互联网协议和支持 The Python Library Reference, 发布 3.6.15 参见: ossaudiodev supersedes. ossaudiodev.openmixer([device]) Open a mixer device and return an OSS mixer device object. device is the mixer device filename to use. If it is not specified, this module first0 码力 | 1886 页 | 8.95 MB | 10 月前3
Python 标准库参考指南 3.7.13 groupby(iterable, key=None) 创建一个迭代器,返回 iterable 中连续的键和组。key 是一个计算元素键值函数。如果未指定或为 None,key 缺省为恒等函数(identity function),返回元素不变。一般来说,iterable 需用同一个键值 函数预先排序。 groupby() 操作类似于 Unix 中的 uniq。当每次 key 函数产生的键值改变时,迭代器会分组或生 打开一个混音设备并返回 OSS 混音设备对象。device 是要使用的混音设备文件名。如果未指定,则 此模块会先在环境变量 MIXERDEV 中查找要使用的设备。如果未找到,它将回退为 /dev/mixer。 23.9.1 音频设备对象 在你写入或读取音频设备之前,你必须按照正确的顺序调用三个方法: 1. setfmt() 设置输出格式 2. channels() 设置声道数量 3. speed() 混音器对象提供了两个文件类方法: oss_mixer_device.close() 此方法会关闭打开的混音器设备文件。在文件被关闭后任何继续使用混音器的尝试都将引 发OSError。 oss_mixer_device.fileno() 返回打开的混音器设备文件的文件处理句柄号。 在 3.2 版更改: 混音器设备还支持上下文管理协议。 其余方法都是混音专属的: oss_mixer_device.controls()0 码力 | 1846 页 | 9.09 MB | 10 月前3
Python 标准库参考指南 3.7.13 groupby(iterable, key=None) 创建一个迭代器,返回 iterable 中连续的键和组。key 是一个计算元素键值函数。如果未指定或为 None, key 缺省为恒等函数(identity function),返回元素不变。一般来说,iterable 需用同一个键值函数预先排 序。 320 Chapter 10. 函数式编程模块 The Python Library Reference 打开一个混音设备并返回 OSS 混音设备对象。device 是要使用的混音设备文件名。如果未指定,则此 模块会先在环境变量 MIXERDEV 中查找要使用的设备。如果未找到,它将回退为 /dev/mixer。 23.9. ossaudiodev --- 访问兼容 OSS 的音频设备 1265 The Python Library Reference, 发布 3.7.13 23.9.1 音频设备对象 混音器对象提供了两个文件类方法: oss_mixer_device.close() 此方法会关闭打开的混音器设备文件。在文件被关闭后任何继续使用混音器的尝试都将引发OSError。 oss_mixer_device.fileno() 返回打开的混音器设备文件的文件处理句柄号。 在 3.2 版更改: 混音器设备还支持上下文管理协议。 其余方法都是混音专属的: oss_mixer_device.controls()0 码力 | 1961 页 | 9.14 MB | 10 月前3
Python 标准库参考指南 3.11.10 groupby(iterable, key=None) 创建一个迭代器,返回 iterable 中连续的键和组。key 是一个计算元素键值函数。如果未指定或为 None,key 缺省为恒等函数(identity function),返回元素不变。一般来说,iterable 需用同一个键值 函数预先排序。 groupby() 操作类似于 Unix 中的 uniq。当每次 key 函数产生的键值改变时,迭代器会分组或生 those for checking the identity of HTTPS servers as outlined in RFC 2818, RFC 5280 and RFC 6125. In addition to HTTPS, this function should be suitable for checking the identity of servers in various SSL-based 打开一个混音设备并返回 OSS 混音设备对象。device 是要使用的混音设备文件名。如果未指定,则 此模块会先在环境变量 MIXERDEV 中查找要使用的设备。如果未找到,它将回退为 /dev/mixer。 36.16.1 音频设备对象 在你写入或读取音频设备之前,你必须按照正确的顺序调用三个方法: 1. setfmt() 设置输出格式 2. channels() 设置声道数量 3. speed()0 码力 | 2248 页 | 11.10 MB | 10 月前3
Python 标准库参考指南 3.11.10 groupby(iterable, key=None) 创建一个迭代器,返回 iterable 中连续的键和组。key 是一个计算元素键值函数。如果未指定或为 None, key 缺省为恒等函数(identity function),返回元素不变。一般来说,iterable 需用同一个键值函数预先排 序。 390 Chapter 10. 函数式编程模块 The Python Library Reference those for checking the identity of HTTPS servers as outlined in RFC 2818, RFC 5280 and RFC 6125. In addition to HTTPS, this function should be suitable for checking the identity of servers in various SSL-based 打开一个混音设备并返回 OSS 混音设备对象。device 是要使用的混音设备文件名。如果未指定,则此 模块会先在环境变量 MIXERDEV 中查找要使用的设备。如果未找到,它将回退为 /dev/mixer。 36.16. ossaudiodev --- 访问兼容 OSS 的音频设备 2157 The Python Library Reference, 发行版本 3.11.10 36.16.10 码力 | 2399 页 | 11.19 MB | 10 月前3
Python 标准库参考指南 3.8.20 groupby(iterable, key=None) 创建一个迭代器,返回 iterable 中连续的键和组。key 是一个计算元素键值函数。如果未指定或为 None,key 缺省为恒等函数(identity function),返回元素不变。一般来说,iterable 需用同一个键值 函数预先排序。 groupby() 操作类似于 Unix 中的 uniq。当每次 key 函数产生的键值改变时,迭代器会分组或生 打开一个混音设备并返回 OSS 混音设备对象。device 是要使用的混音设备文件名。如果未指定,则 此模块会先在环境变量 MIXERDEV 中查找要使用的设备。如果未找到,它将回退为 /dev/mixer。 22.9.1 音频设备对象 在你写入或读取音频设备之前,你必须按照正确的顺序调用三个方法: 1. setfmt() 设置输出格式 2. channels() 设置声道数量 3. speed() 混音器对象提供了两个文件类方法: oss_mixer_device.close() 此方法会关闭打开的混音器设备文件。在文件被关闭后任何继续使用混音器的尝试都将引 发OSError。 oss_mixer_device.fileno() 返回打开的混音器设备文件的文件句柄号。 在 3.2 版更改: 混音器设备还支持上下文管理协议。 其余方法都是混音专属的: oss_mixer_device.controls()0 码力 | 1927 页 | 9.69 MB | 10 月前3
共 281 条
- 1
- 2
- 3
- 4
- 5
- 6
- 29













