D {format} : the format is passed to strftime (3) and the result is inserted into the promptstring; an empty format results in a locale-specific time representation.
D {format}:括弧里的字符串被传递给strftime(3)函数,返回值填充到提示符中。如果不传参数,会按照系统默认的当地时间格式来显示。
2
The first gets the feed and outputs the prompt blocks for each news item title; this is sequentially appended to a string.
第一个部分获得提要并为每个新闻条目标题输出提示块;这些输出依次追加到一个字符串中。
3
The following example USES raw_input to grab a string from the command prompt, then assigns the value to quest.