https://pantsbuild.org/ logo
#general
Title
# general
b

brief-engineer-67497

11/27/2018, 4:01 PM
Copy code
'''
triple
quotes
do the trick
'''
a

aloof-angle-91616

11/27/2018, 6:09 PM
i often use
Copy code
my_string = """\
something
asdf
"""
in normal python code if you don't need the opening newline (single quotes work just as well, i prefer single quotes almost always but usually use double quotes when i use triple quotes)
to clarify i'm just referring to the initial backslash
4 Views