...
Code Block |
---|
a = "I can put a quote character, \", in my string using a backslash" |
A backslash is escaped with another one:
Code Block |
---|
b = "I can end my string with a \\" |
A newline (\n) requires a line break:
Code Block |
---|
bc = "And include a ' ' too!" |
Other characters can be inserted literally (some text editors are better at this than others), or consider using chr().
Issues
...