parse_ini_file命令接受类似清单4 所示的文件。
The parse_ini_file command accepts files similar to Listing 4.
清单3中的程序说明了如何在Python中完成这项工作:这段代码接受一个tar文件的名称作为命令行参数,然后向用户提供几种选择。
The program in Listing 3 shows how to do that in Python: the code takes a tar filename as a command-line argument and then prompts the user with several options.
CachedScript类(参见清单8)接受一个脚本文件并只有当源代码有修改时才会进行重编译。
The CachedScript class (see Listing 8) takes a script file and recompiles it only when the source code is modified.
在清单4中可以看到,rulesengine类的构造函数接受字符串值形式的参数,该值表示包含业务规则集合的文件的名称。
As you can see in Listing 4, the RulesEngine class's constructor takes as an argument a string value that represents the name of the file that contains a set of business rules.
最后一步是修改first . php文件,当调用remote方法时,可以接受一个参数,寻找清单11中的这一行。
File to actually pass an argument when calling the remote method. Look for the lines shown in Listing 11.
清单3中所示的例子有两个集合,一个只接受AtomEntryDocuments,另一个只接受图像文件(如png、GIF、JPEG等)。
The example in Listing 3 has two collections, one that accepts only Atom Entry Documents and one that only accepts image files (such as PNG, GIF, JPEG, and others).
清单3中所示的例子有两个集合,一个只接受AtomEntryDocuments,另一个只接受图像文件(如png、GIF、JPEG等)。
The example in Listing 3 has two collections, one that accepts only Atom Entry Documents and one that only accepts image files (such as PNG, GIF, JPEG, and others).
应用推荐