D {format} : the format is passed to strftime (3) and the result is inserted into the prompt string; an empty format results in a locale-specific time representation.
D {format}:括弧里的字符串被传递给strftime(3)函数,返回值填充到提示符中。如果不传参数,会按照系统默认的当地时间格式来显示。
The first gets the feed and outputs the prompt blocks for each news item title; this is sequentially appended to a string.
第一个部分获得提要并为每个新闻条目标题输出提示块;这些输出依次追加到一个字符串中。
The following example USES raw_input to grab a string from the command prompt, then assigns the value to quest.
下面的这个例子使用raw _ input从命令提示符获取一个字符串,然后将值赋给quest。
Here, the variables blue and none are expanded when the command line is interpreted, and the prompt is set to the string that results from the expansion.
在解释命令行时,会展开变量blue和none,提示符被设置为展开变量而生成的字符串。
The customized prompt can be altered by exiting the CLP interactive mode (issue the QUIT command), and then issuing the db2set command again, specifying a different string.
要更改定制的提示符,可以退出CLP交互模式(发出QUIT命令),然后再次发出db2set命令,并指定不同的字符串。
The check box is used to indicate whether to prompt the user for the hellotext string each time the feed is run.
复选框决定每次运行feed时是否向用户提示hellotext字符串。
This time no warning is issued, but the prompt changes to include a (CONNECTION1) string.
这时没有发出警告,但提示符更改为包括一个(CONNECTION1)字符串。
This next technique achieves the same goal but demonstrates how complex an in-place command evaluation can be. If you set the prompt to the string.
后一种方法实现相同的目标,它展示了置换命令运算可以有多么复杂。
If you provide a second string argument, the prompt message box displays the second string in the text field as the default response.
如果提供了第二个字符串参数,则提示消息框的默认响应是在文本字段中显示第二个字符串。
Clears all the editable input characters from the formatted string, replacing them with prompt characters, and then outputs descriptive information.
通过用提示字符替换可编辑输入字符,从带格式字符串中清除所有可编辑输入字符,然后输出描述性信息。
Returns a substring of the formatted string, optionally including prompt and literal characters.
返回带格式字符串的子字符串,也可以选择包含提示字符和原义字符。
Returns a substring of the formatted string, optionally including prompt, literal, and password characters.
传回格式化字串的子字串,选择性包含提示、常值和密码字元。
Returns the formatted string, optionally including prompt and literal characters.
返回带格式的字符串,还可以选择包含密码字符。
Returns the formatted string, optionally including prompt and literal characters.
返回带格式的字符串,还可以选择包含密码字符。
应用推荐