This allows starting and ending quote characters to be used as an escape mechanism.
这允许将开头和结尾引号字符用作转义机制。
If the value contains both single-quote and double-quote characters, the quote character used to enclose the value must be doubled each time it occurs within the value.
如果该值同时包含单引号和双引号字符,则用于将值括起来的引号字符每次出现时,都必须成对出现。
Replace the single quotes used for the expr attribute with double quotes, and then escape the double quote (") characters to ".
用双引号代替expr属性中所用的单引号,然后将双引号(“)字符转义成”。
Strings are captured in Python with an open quote and some sequence of characters followed by a closed quote.
字符串在Python中,是以一个开引号开始,然后后面是一系列的字符,以一个尾引号结束。
But I have a favorite line in his novel called The Hamlet, where Faulkner has one of his characters say, and I quote: "Only thank God men have done learned how to forget quick what they ain't brave enough to cure."
但我最爱他在小说《村子》里的一句话,他笔下的一个角色说道,"感谢上帝,让人类学会了怎样,迅速的忘记那些我们没勇气面对的事"
应用推荐