(已废弃, 只用于 Unix ) posixfile 提供了一个类文件的对象( file-like object ), 实现了文件锁定的支持. 如 Example 14-27 所示.
基于16个网页-相关网页
文件对象的方法 Methods of File Objects
文件的超级块对象 struct super_block d_sb
的文件对象模型 Document Object Model
所公布的文件对象模型 document object Modle
详细描述项目所生成的文件的对象。
本例演示如何从一个spool文件的对象信息中提取元素“job_name”的值。
This example shows how to extract the "job_name" element's value from a spool file's object information.
接下来,我们看一些示例,这些示例用到了dump和load,它们使用文件和类似文件的对象。
Next we'll look at some examples using dump and load , which work with files and file-like objects.
应用推荐