@Old-Blue-Nose, must be something on the lines of what @ccc said, as this works fine for me:

print("""Text""")

Good idea to turn smart quotes off in the settings.