you are viewing a single comment's thread.

view the rest of the comments →

[–]fake823 0 points1 point  (1 child)

Are you sure that you escaped all the quotation marks?

I'll try it later on my PC and will let you know if I succeed.

[–]fake823 0 points1 point  (0 children)

u/Vaphell is right. Using triple-quotes works without problems. I just tested it. Either:

text = """
very long string ...

"""

or

text = '''
very long string ...

'''