Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-05 19:02:50 +01:00 committed by GitHub
parent c8634fdb31
commit 9c5951dcf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,6 +198,30 @@ print(f"{d:%Y-%m-%d %H:%M:%S}")
see [here](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) for the date formats  see [here](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) for the date formats 
## [Escape Sequence](https://docs.python.org/3/reference/lexical_analysis.html#escape-sequences)
|Escape Sequence|Meaning|
|---|---|
|\<newline>|Backslash and newline ignored|
|\\ \\ |Backslash (\\)|
|\\'|Single quote (')|
|\\"|Double quote (")|
|\a|ASCII Bell (BEL)|
|\b|ASCII Backspace (BS)|
|\f|ASCII Formfeed (FF)|
|\n|ASCII Linefeed (LF)|
|\r|ASCII Carriage Return (CR)|
|\t|ASCII Horizontal Tab (TAB)|
|\v|ASCII Vertical Tab (VT)|
|\ooo|Character with octal value ooo|
|\xhh|Character with hex value hh|
|Escape Sequence|Meaning|
|---|---|
|\N{name}| Character named name in the Unicode database>
|\uxxxx|Character with 16-bit hex value xxxx|
|\Uxxxxxxxx|Character with 32-bit hex value xxxxxxxx|
## Reference ## Reference
* [Formatted String Literals](https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals) * [Formatted String Literals](https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals)
* [Format Specification Mini-Language](https://docs.python.org/3/library/string.html#formatspec) * [Format Specification Mini-Language](https://docs.python.org/3/library/string.html#formatspec)