The new syntax is now to simply pass in a value to the keyword argument file in the print() function. For example
新的语法只要求给 print() 函数的关键字参数file传递一个值就可以了。
This input can come either from a file specified as the last command line argument, or from standard input if no file name argument is given.
该输入可以来自作为最后一个命令行参数指定的文件,在没有给出文件名参数时也可以来自标准输入。
By default, the end-of-file string is an underscore (_); if that character is sent as a single input argument, everything after it is ignored.
缺省情况下,文件结束字符串是下划线(_);如果将该字符作为单个输入参数来发送,则它之后的所有内容将被忽略。
The logic in the feed sources input component simply reads from a file, whose name is passed as a function input argument.
提要源输入组件的逻辑只是简单地从文件中读取,而文件的名字则以函数输入参数的形式传递。
The report annotates all files that match at least one of the given in the -file argument.
报告会注释所有至少与在文件说明中给出的的一项匹配的文件。
The first argument is the reference to the document object, and the second argument is the absolute name of file in which output will be written.
第一个参数是对文档对象的引用,第二个参数是文件的实际名称,在该名称中还会给出其输出路径。
The first argument is a file sequence number, which will be used to form the result filename.
第一个参数是一个文件序列号,用来组成结果文件名。
The sound argument is supposed to be the name of a sound file, but how many users have a lot of sound files handy?
声音参数应该是声音文件的名称,用户可以方便地获得大量声音文件。
Give the argument passed in the method the scenario name for which the data will be captured in log file.
既然方法中有通过的论断,数据将会从日志文件得到场景名。
The second argument is the directory path. The third argument is the path of the output XML file.
第二个是目录路径,第三个是输出XML文件的路径。
If you give the command a scala source file argument, it compiles and runs the file as a script, as in our scala upper1-script.scala example.
如果你附带了一个scala文件作为命令参数,它会把文件作为脚本编译和运行,就像我们的scalaupper1 - script . scala例子一样。
Now create a static file to be used as the data; the default is sample.html, but you can specify any file as the first argument on the command-line (see Listing 6 below).
现在,创建作为数据使用的静态文件;默认文件是sample . html,但是可以通过命令行上的第一个参数指定任何文件(见清单6)。
You can send the output of any tool that outputs file names through xargs to get a list of arguments for some other tool that takes file names as an argument, as in the following example.
您可以发送通过xargs来输出文件名的任何工具的输出,以便为其他某些接受文件名作为参数的工具获得参数列表,如以下示例所示。
At line 8, I invoke the Pvtrace utility and provide the image file as its only argument.
在第8行,我调用了Pvtrace工具,并提供这个映像文件作为它惟一的参数。
In this mode, you initiate the session and provides a Jython script file by using the -f argument.
在这种模式中,您将发起会话并通过使用- f参数提供一个jython脚本文件。
Copy the files to the migrate directory, compile and run it, passing the name of each product XML file as an argument.
将文件复制到migrate目录,编译并运行它,此时要传递每个产品XML文件的名称作为参数。
When executing commands, there are often times when a file you're using as an argument for stdin or stdout (or stderr) is being written to a file.
执行命令时,经常会遇到这样一种情况,您用作stdin、stdout或 stderr参数的文件将被写入到某个文件中。
Currently, file system freezing is achieved through an ioctl with an argument of FIFREEZE or FITHAW.
目前,文件系统冻结是通过具有参数FIFREEZE或FITHAW的ioctl来实现的。
Go to that directory at the command prompt and run the batch file with the MXML filename as the argument.
在命令提示下来到目录,用mxml文件名称作为变量开始运行批文件。
And because many of the networking tools can take input from a file, you can use the length of such a file as an argument to — size.
因为许多网络工具可以从文件接收输入,可以使用文件的长度作为——size选项的参数。
Otherwise, if the argument, filedir, is a file, the code prints its name and returns, again halting further recursion.
否则,如果参数filedir是一个文件,代码将输出其名称并返回,并再一次停止进一步的递归。
To summarize, if you type scala on the command line without a file argument, the interpreter runs in interactive mode.
总的来说,如果你在命令行输入scala而不输入文件名参数,解释器会运行在交互模式。
To add a response file as an argument, add the -options parameter and the fully qualified name of your response file.
要添加响应文件作为变量,添加-options参数和响应文件的全限定名。
The coding_name variable on line 330 is derived from a command-line argument specifying the encoding of the input file; if no such command line is provided, UTF-8 is used, instead.
第330行的coding_name变量源自于一个指定输入文件编码的命令行参数;如果没有提供这种命令行,就使用UTF - 8编码。
The name-check function returns "True" if its argument input PATHNAME is valid for a particular operating system or file system.
如果其参数输入PATHNAME对于特定的操作系统或文件系统有效,名称检查函数将返回“True”。
This takes a single argument defining the reference to a file system structure (file_system_type), which defines the name of the file system, a set of attributes, and two superblock functions.
这个函数的参数定义一个文件系统结构(file_system_type)的引用,这个结构定义文件系统的名称、一组属性和两个超级块函数。
The jacl script takes a single argument which is a path to a created properties file.
该jacl脚本具有单一的参数,它是创建的属性文件的路径。
As discussed previously, if you don't give a command-line argument, the application will use the default feed sources input XML file (rss_feed_sources.xml).
我们在前面讲过,如果没有提供命令行参数,那么此应用程序将会使用默认的提要源输入xml文件(rss_feed_sources . xml)。
MyBooks takes in a single argument: the name of the XML file that contains the list of books to be displayed in the table.
MyBooks采用了一个参数:XML文件的名称,它包含了所有在表格中显示的书籍清单。
The c option tells tar to create a new archive, and the f option to use the next argument as the name of the archive file to be created (mydir.tar).
c选项让tar创建新的存档文件,f 选项使用后面的参数指定要创建的存档文件的名称 (mydir.tar)。
应用推荐