Presenting long string literals (URLs) in Python
You could use continuation lines with \, but it messes the indentation:

URL = 'https://www.targetwebsite.co.foo/\
bar-app/abc/hello/world/AndThen\
?whatever=123&amp;this=456&amp;theother=789&amp;youget=the_idea'


Or you could use the fact that string literals next to each other are automatically concatenated, in either of these two forms:

URL = ('https://www.targetwebsite.co.foo/'
       'bar-app/abc/hello/world/AndThen'
       '?whatever=123&amp;this=456&amp;theother=789&amp;youget=the_idea')

URL = 'https://www.targetwebsite.co.foo/' \
      'bar-app/abc/hello/world/AndThen' \
      '?whatever=123&amp;this=456&amp;theother=789&amp;youget=the_idea'


I often use the parenthesized version, but the backslashed one probably looks cleaner.