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.
该输入可以来自作为最后一个命令行参数指定的文件,在没有给出文件名参数时也可以来自标准输入。
This argument passes the override file we created to the code generator.
该参数将我们创建的覆盖文件传递给代码生成器。
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 represents the file name and the second argument, the audit record.
第一个参数表示文件名,第二个参数表示审计记录。
EISDIR — You called a function that requires a file argument with a directory argument.
EISDIR:您使用了目录参数来调用要求文件参数的函数。
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?
声音参数应该是声音文件的名称,用户可以方便地获得大量声音文件。
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)。
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参数的文件将被写入到某个文件中。
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参数和响应文件的全限定名。
This simplifies the process; print simply sends each argument to the output file.
这样可以简化处理过程;print只是简单地向输出文件发送一个参数。
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脚本具有单一的参数,它是创建的属性文件的路径。
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文件的名称,它包含了所有在表格中显示的书籍清单。
You do so by using the run command, which takes a single argument: the name of the script file enclosed in single quotes.
通过使用run命令可实现该操作,该命令接受单个参数:单引号括起的脚本文件名。
With one argument or if the second argument is false, the extension of the file name is omitted.
如果只有一个参数,或者第二个参数为false,那么将忽略扩展文件名。
In this case, you supply the name of the script file as a command-line argument to the ij tool.
在这种情况下,提供脚本文件名作为ij工具的命令行参数。
This approach still works, but with just String arrays as arguments, and a File argument for a working directory, the manner of customizing the sub-process wasn't always that easy.
该方法仍然有效,但是因为能以String数组作为参数、以File参数作为工作目录,所以用这种方法定制子进程比较困难。
应用推荐