You just might find yourself trying to write a script for everything you do.
您可能会发现,您希望为所进行的每项工作编写脚本。
When you write a script for a Web page, always put conditional compilation code in comments.
当编写用于网页的脚本时,始终将条件编译代码放入注释中。
Write a script, produce one data file for each step, use a data file between each pair of steps as input, and collect the final file as the ultimate result.
编写一个脚本,为每个步骤生成一个数据文件,在每对步骤之间使用数据文件作为输入,以最后的文件作为最终结果。
We will then write a PHP script that goes into our database and retrieves some records for our JSON-enabled application to use.
然后,我们将编写一个php脚本,该脚本将进入数据库并为基于JSON的应用程序检索一些记录以供使用。
They are a great starting point if you are a novice wsadmin script writer, or if you need to write scripts for new features.
如果您是编写wsadmin脚本的新手,或者需要为新功能编写脚本,则上述功能对您开始工作提供有力帮助。
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.
让我们看一下怎样书写一个简单的报表脚本,该脚本在一个项目中为一个特定的函数记下行覆盖率百分比。
Write the input to a script for further processing.
将输入写入脚本,用于进一步处理。
Test teams write and execute hundreds or even thousands of test script documents for a given software project.
测试团队为已知的软件项目书写并执行成百甚至上千的测试脚本文档。
Instead, you could write your server-side script to look for a extra field in the form.
相反,您可以编写您的服务器端脚本来寻找表单中的一个额外字段。
We admit this was doing it the hard way. You need to write a script because you need three BAPIs called on a single connection for each address change.
我们承认这种办法比较麻烦,因为每次修改地址都需要在一个连接上调用三次BAPI,所以需要编写脚本。
So I decided to write a script calling for all people, especially young people, to show more filial piety to their parents.
所以我决定写一个剧本来号召所有人,尤其是年轻人,去为自己的父母多尽孝心。
For now, let's write a simple script to add an image.
现在,让我们编写一个简单的脚本来添加照片。
In this script, you're going to learn how to import modules for specific functions, how to work with files, and how to write to a log file.
在该脚本中,您将学习如何导入特定函数的模块,如何使用文件,以及如何写入日志文件。
It's a good thing you can write a script to find all the files for you — and you can have it fix the permissions, as well.
较好的做法是编写一个脚本来查找所有文件——还可以使用脚本帮您修复权限。
You might write a script that provides HTML forms for you to ease your data entry tasks (or the data entry tasks of the users of your Web site).
您可能会编写一个脚本来为您提供HTML表单,以减轻您的数据输入任务(或网站用户的数据输入任务)。
I don't need to write custom tasks, for instance, because a Rake build script is Ruby (as opposed to XML); therefore, if I need some conditional logic, I can easily code it where I need it.
例如,我不必编写定制任务,因为Rake构建脚本是Ruby(而不是XML);因此,如果我需要某种条件逻辑,那么很容易在需要的地方编写这种逻辑。
Suppose, for instance, that a Python programmer wants to write a script that automatically sends a message to her cell phone when the bus she takes to work rounds a particular corner.
假设,比方说,某个Pyhon程序员想要写一个脚本,可以当她乘坐的公共汽车正好转过某个弯时,程序自动发送消息到她的手机里。
With cloud, as a developer, you can write a script that provisions any number of machines, runs a MapReduce job, then be charged only for the time you used on each system.
有了云,开发人员就可以通过编写脚本供应任意数量的计算机,运行MapReduce作业,而且只按照使用每个系统的时间付费。
No more need for huge Numbers of event handlers cluttering up your code, now you could write a simple script that sets all event handlers for you.
不需要大量的事件处理器弄乱你的代码,现在你可以写一个简单的脚本,集成所有事件处理器。
Try to imagine yourself relatively clearly the last hour of your life on earth. Write a kind of a script of this last hour, as if you were writing the script for a film.
试着(相对上清楚地)想象自己在地球上的最后一个小时,写下这最后一小时的剧本,就像你写电影剧本一样。
If you have database manipulation in your script it's a good idea to test for errors directly after your data read or write.
如果你在你的脚本有数据库操作这是一个好主意,以测试是否有错误后直接读取或写入数据。
So I decided to write a script calling for all people especially young people to show more filial piety to their parents.
所以我决定写一个剧本来号召所有人,尤其是年轻人,去为自己的父母多尽孝心。
Now that we've shown you how to write a typical script to check player input for a give set of keywords, let's look at how the actual game engine checks player input for a given keyword.
既然我们已经向你展示了如何编写在一个典型的检测玩家的输入是否存在给定的关键词集,让我们看看真正的游戏引擎是如何检测玩家输入中的关键词的。
Finally, I could write a script to check the configuration file and modify it (if needed), but this seems like overkill for what should be a trivial part of the build process.
最后,我可以写一个脚本来检查配置文件和修改(如果需要),但这似乎矫枉过正了应如何构建过程的一小部分。
When the cola brand invited netizens to write a TVC script for the next Jay Zhou commercial, some 28,000 fans submitted scripts.
当百事可乐公司邀请网友为周杰伦下一个电视广告时,有2.8万名粉丝提交了剧本。
When the cola brand invited netizens to write a TVC script for the next Jay Zhou commercial, some 28,000 fans submitted scripts.
当百事可乐公司邀请网友为周杰伦下一个电视广告时,有2.8万名粉丝提交了剧本。
应用推荐