如果您需要在值中包括空白,请将其括在引号中。
If you need to include white space in a value, enclose it in quotation marks.
如果行分隔符不是缺省值(换行符),当包含行分隔符的数据嵌入在引号中时,此跳过功能可能会无法正常工作。
If the row delimiter is not the default (newline), then skipping may not work correctly if the data contains the row delimiter embedded with a quoted string.
在本示例中,参数周围的单引号用于保持参数不变,从而可以避免 Shell 对 + 和 % 进行解释。
Here, the single quotation marks around the argument keep it intact, preventing the shell from interpreting + and %.
Strings are captured in Python with an open quote and some sequence of characters followed by a closed quote.
字符串在Python中,是以一个开引号开始,然后后面是一系列的字符,以一个尾引号结束。
应用推荐