This allows you to "record" your actions in the debugger, and generate a script that can be reused to put the program that you are debugging in a desired state.
这就允许您将您所做的操作“记录”到调试器中,并且生成一个可以重复使用的脚本以让您所调试的程序置于您想要的状态。
Of course, while the script or program on the server is processing and returning a new form, users have to wait.
当然,在服务器上的脚本或程序处理和返回新表单时用户必须等待。
The first example program combines these snippets into a simple script that returns the number of files currently selected.
第一个示例程序将多个程序段合并成一个简单脚本,来返回当前所选文件的数量。
Even worse, if a user pays heed to the warning and stops the script, he or she will actually cancel your client-side program!
更糟糕的是,如果用户注意到这个警告并停止脚本,那么实际上就取消了您的客户端程序!
The generator program writes the script into a file that can be used to populate the data across platforms and across servers.
该生成器程序将脚本写到可用于跨平台和跨服务器进行数据填充的文件中。
This implies, of course, that a script can generate the response to a forms submission, just like a CGI program but without the CGI overhead.
当然,这意味着脚本可以像CGI程序那样生成对表单提交的响应,但却没有 CGI 的开销。
Over time, this script has saved me dozens of hours that I would have spent manually twiddling with an FTP GUI, or constantly changing directories via an annoying command-line FTP program.
随着时间的推移,这个脚本已经为我节省了数十个小时,我不再需要手工使用FTPGUI,也不需要通过一个恼人的FTP命令行程序频繁的变换目录。
But I was not successful in getting it to output a working script that was efficient, and started to realize it would be easier to make this program do image processing than to output a script.
但是当时我并没有能成功的让这个软件有效的输出工作脚本,随后我开始意识到用这个软件来处理图片比让它输出脚本来更为容易。
For example, the script shown in Listing 1 should be condensed and simplified considerably into a smaller and more clean-looking program.
例如,清单1所示的脚本应该浓缩和简化为更简单、更干净的程序。
When the script is completed, the computer turns off automatically after having its BMC IP address set using the DOS power-off program you copied to the boot image.
脚本完成时,计算机在设置完BMCIP地址之后,用拷贝到启动镜像的DOS关机程序自动关闭。
Everything is organized and detailed, and someone reading the script for the first time will have a better chance in understanding what the program is doing.
所有东西都组织有序,并且有详细的描述,初次阅读这个脚本的人更容易理解它的作用。
Is callable from the command line so it can be invoked by virtually any script or executed by any program?
从命令行调用,因此它几乎可由任何脚本调用或由任何程序执行。
In many cases, the net result of a long and complicated configure script is this: the target system provides every standard feature used by this program, and they all work correctly.
在许多情况下,一个冗长而复杂的configure脚本的最终结果是这样的:目标系统提供了这个程序用到的每一个标准特性,而且它们正确工作。
You've finished writing the script, and now it's time to run the program for the first time.
编写完一个脚本之后,就要第一次运行它了。
Most of the time, we're going to be doing expressions inside of some piece of code, inside of a script, which is the Python word for program.
大多数情况下,我们会在一些代码内部,写一些表达式,在一个脚本里面,也就是Python里面对程序的另一种叫法。
If you set this variable, TCSH displays the exit status whenever a script or program returns a non-zero value, thereby indicating a potential error.
如果设置这个变量,那么当脚本或程序返回非零值时tcsh会显示退出状态,这会指出潜在的错误。
The script automatically appends the .pcv extension to the program name, and it ignores the possibility of invalid parameters.
脚本自动添加 .pcv 扩展名为程序的名字,而且忽略无效参数的可能性。
When we "export" an environment variable under bash, any subsequent program that we run can read our setting, whether it is a shell script or not.
当在bash中“导出”环境变量时,以后运行的任何程序,不管是不是shell脚本,都可以读取设置。
By using a simple function like exit_msg and a few logical operators, the script could be condensed into the better-looking and easier-to-understand program shown in Listing 14.
只需使用exit_msg这样的简单函数和几个逻辑操作符,这个脚本就可以简化成更漂亮更容易理解的程序,见清单14。
Where myfunc is a script, is the name of the program to search, and is the name of the function to display.
这里myfunc是一个脚本,是要搜索程序的名字,而是要显示函数的名字。
However, you can put complex processing into a script, or even in a program, and pass various conversion symbols as arguments to the script or program. For example.
然而,您可以将复杂的过程置于一个脚本,或者一个程序中,并且传递各种转换符号作为变量到这个脚本或者程序中。
The pipe symbol indicates that the message's contents should be sent as input for the indicated program: a Python script named aci.py.
竖杠符号指定邮件内容应作为输入发送到某个指定的程序:一个名为 aci.py 的 Python脚本。
You can start by using Ruby [or any desired technology] whenever a script or small program is needed, for example and introducing the new web development platform slowly.
举例来说,无论任何时候需要一段脚本或小程序,你就可以开始使用Ruby[或任何需要的技术]、慢慢引入新的Web开发平台。
These are preambles to identify that the following are script elements for the Load program to process.
这是导言,用来识别以下用Load程序来处理的脚本元素。
If you try running this script at the same time as the primes program is running, you will get output similar to that in Listing 6.
如果在运行primes程序的同时运行这个脚本,会得到与清单6相似的输出。
The pc_ssheet script generates this report, which can be read into a spreadsheet program for further analysis of, for example, each function.
pc_ssheet脚本生成这个报告,它可以为进一步分析而读成一个spreadsheet项目,例如,每一个函数。
Let's see an example of how to write a simple report script that prints the line coverage percentage for a specific function within a program. The script syntax is.
让我们看一下怎样书写一个简单的报表脚本,该脚本在一个项目中为一个特定的函数记下行覆盖率百分比。
Probably the most common approach is to start the program up at system startup time by hooking a suitable script into the init system-initialization process.
最常用的方法可能是把合适的脚本挂上 init 系统初始化进程,在系统启动时启动程序。
If ls was called by another program (such as a script), its output would be sent to that program and could be processed further, if necessary.
如果ls是由另一个程序(如脚本)调用,则它的输出将送到该程序,并且,如果需要的话,可能会做进一步的处理。
This script displays the response to the call to c_square, which is the function exported in the C program in Listing 5.
该脚本显示 c_square函数调用的响应,该函数是清单5中的C程序导出的函数。
应用推荐