Python escape character

escape character describe
\ (at end of line) line continuation character
\\ backslash symbol
\' apostrophe
\" Double quotes
\a bell
\b Backspace
\e escape
\000 null
\n newline
\v vertical tab
\t horizontal tab
\r Enter
\f form feed
\oyyyyyy Octal number, the character represented by yy, for example: \o12 represents newline
\xyy Hexadecimal number, the character represented by yy, for example: \x0a represents newline
\other Other characters are output in normal format

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325280382&siteId=291194637