• In this case, read returns bytes, but you can't use readline .

    在这种情况下,read会返回字节,但readline则不能用。

    youdao

  • In this case, you should use the readline method, as shown in Listing 5.

    在这种情况下,应当使用readline方法,如清单5所示。

    youdao

  • All servlet containers must provide a readline method on their input streams.

    所有的servlet容器必须在它们的输入流上提供readline方法。

    youdao

  • When you reach the end of the file, the readline method returns an empty string.

    当到达文件末尾时,readline方法返回一个空的string。

    youdao

  • These factors make it impossible to implement even a simple readline method without polling.

    这些因素使得没有轮询就不可能实现甚至是简单的readline方法。

    youdao

  • The readline method, however, reads the specified number of characters and continues reading until the end of that line.

    但是readline方法在读入指定数量的字符后,还会继续读取,直到行尾。

    youdao

  • Doing so returns a buffered text file; read and readline return strings. (Remember that all strings in Python 3 are unicode.)

    这么做会返回一个缓冲了的文本文件;read和readline会返回字符串(请注意,Python3内的所有字符串都是unicode)。

    youdao

  • By using this knowledge, you can pass in a parameter to the read method or the readline method to control how many characters are read.

    通过使用这个知识,可以向read或readline方法传递一个参数,控制读取的字符数。

    youdao

  • Additional functions as well as how to customize these options using a readline init file (usually inputrc in your home directory) can be found in the man pages.

    其余功能以及如何使用readlineinit文件(通常为主目录中的inputrc)定制选项等内容可以在手册页中找到。

    youdao

  • The BufferedReader object has access to several useful methods, such as isatty, peek, raw, readinto, readline, readlines, seek, seekable, tell, writable, write, and writelines, to name a few.

    BufferedReader对象可以访问很多有用的方法,比如isatty、peek、raw、readinto、readline、readlines、seek、seekable、tell、writable、write和writelines。

    youdao

  • More extensive commands, such as going backward and forward by words, are controlled by the Readline library that supports both vi and emacs bindings by default.

    更广泛的命令(例如按单词向前和向后移动)可以通过readline库来控制,该库在缺省情况下同时支持vi和emacs绑定。

    youdao

  • More extensive commands, such as going backward and forward by words, are controlled by the Readline library that supports both vi and emacs bindings by default.

    更广泛的命令(例如按单词向前和向后移动)可以通过readline库来控制,该库在缺省情况下同时支持vi和emacs绑定。

    youdao

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

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

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