What does the +\ operator do in Python?
I came across this piece of code –
rows=urllib2.urlopen('http://ichart.finance.yahoo.com/table.csv?'+\
's=%s&d=11&e=26&f=2006&g=d&a=3&b=12&c=1996'%t +\
'&ignore=.csv').readlines( )
and can’t find any references that explain it.
The
+is addition. The\at the end of the line continues the current statement or expression on the next line.