• The file object refers to a dentry object, which refers to an inode.

    file对象引用dentry对象,后者引用inode

    youdao

  • In Listing 3, you instantiated a file object for a file that didn't exist.

    清单3中,是存在的文件实例File对象

    youdao

  • Now, notice the last line in Listing 1, which calls a close method on the file object.

    现在请注意清单1中的最后调用file对象close方法

    youdao

  • First, it creates a file object from the build file and then creates a new Project object.

    首先构建文件创建个文件对象然后创建一个新的Project对象。

    youdao

  • Next, you instantiate a File object with the name of the file that will be the XML document.

    再接下来实例化一个File对象,它名称成为XML文档那个文件的名称。

    youdao

  • At the top is the open file object, which is referenced by a process's file descriptor list.

    顶层打开file对象进程文件描述符列表引用

    youdao

  • The file object is the basic mechanism by which you interact with files on your computer.

    file计算机文件进行交互基本机制

    youdao

  • Don't like the working directory? Call directory with a new working directory as a File object.

    如果希望使用新的工作目录可以调用directory并提供新的工作目录作为File对象

    youdao

  • Create an instance of File Object that points to the WebContent folder of the portlet project.

    创建文件对象一个实例,该对象指向portlet项目WebContent文件夹

    youdao

  • If you need to append data to a file, you should use the append mode when creating the file object.

    如果需要文件添加数据应当创建file对象使用添加模式

    youdao

  • Overall, the process is simple: Create an appropriate file object, then read or write as necessary.

    总体来说过程简单创建合适file对象然后按照需要读取写入

    youdao

  • Here, we create a new Persistent: : file object whose contents will be stored in the file variables.txt.

    我们在这里创建新的Persistent:File对象内容存储文件variables . txt中

    youdao

  • A text file object can use the API to get the content object (content.xml) and style object (styles.xml).

    文本文件对象可以使用API获取内容对象(content . xml)样式对象(styles . xml)。

    youdao

  • The simplest technique for learning more about the file object is to ask for help, as shown in Listing 2.

    学习file对象简单方法就是阅读帮助如清单 2 所

    youdao

  • As shown in Listing 6, however, writing is easy once you know the basics of working with the file object.

    但是如清单6一旦了解使用file对象基础知识写入容易。

    youdao

  • It is not a problem to have both spool file object sets, and IFS stream file object sets in the same collection.

    一个collection可以同时拥有spool文件对象ifs文件对象集。

    youdao

  • You create a file object using the file constructor or the open method, which is an alias for the file constructor.

    file构造函数open方法创建file对象,openfile构造函数别名

    youdao

  • You can easily do so in Python by appending 'b' to the file mode when you create the file object, as shown in Listing 7.

    创建file对象通过'b'添加文件模式中,可以很容易地用 Python 处理二进制数据,如清单7

    youdao

  • The next line creates a file object, passing in the name "testit.txt" and a 'w' character (to let you write to the file).

    接下来创建file对象传递名称testit . txt ”'w '字符(写入文件)。

    youdao

  • In this example, you create an appropriate file object, then write the binary characters with ASCII values from 50 to 69.

    这个示例中,创建一个合适的file对象然后5069的ascii写入二进制字符

    youdao

  • This section explores the superblock, the index node (or inode), the directory entry (or dentry), and finally, the file object.

    这个小节探索了超块(superblock)、索引节点inode)、目录条目(或dentry文件对象。

    youdao

  • The read method takes two parameters: the class of the POJO and the file object that represents the XML file containing the data.

    read方法两个参数POJOFile对象,后者代表包含数据XML文件

    youdao

  • You can use the file object to read data, to write data, to append data to a file, and to work with either binary or textual data.

    可以file对象读取数据写入数据把数据添加文件以及处理二进制文本数据。

    youdao

  • In this case, you create an implicit file object, and Python does the rest, allowing you to iterate over all the lines in the file.

    这个示例中创建file对象然后Python余下的工作,允许文件中的全部进行迭代

    youdao

  • An alternate approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code.

    交换通道可以循环读取文件对象中的行内存操作的效率快速,代码简单

    youdao

  • An alternative approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code.

    替代的方法通过遍历文件对象读取文件是一种内存高效快速并且代码简介的方式。

    youdao

  • The second for loop simplifies this process a little by using an implicit variable (that is, one that isn't explicitly created) for the file object.

    第二for循环通过使用file对象的变量(也就是说,变量不是显式创建的),这个过程做了点儿简化

    youdao

  • You may notice that the file name of the transferred file can be obtained and, in this case, the file name is used when instantiating the file object.

    可能会注意可以得到传输文件名称这个示例中,在实例File对象使用到了文件名称。

    youdao

  • The next two lines of code-use generator expressions to handle the file object ps.stdout and to parse it and search it for the lines you are looking for.

    接下来代码使用生成器表达式处理文件对象ps .stdout分析该文件在其中搜索正在查找的行。

    youdao

  • You then use a modified print statement — with two greater-than symbols followed by the variable holding the file objectto write the same strings.

    然后使用修改过print语句——两个大于号后边跟着容纳file对象变量——写入相同string

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定