Look, I have seen many of the answers provided on this site that deal with aspects of my question. The [aforementioned] answers usually provide already existing examples that are too basic to be helpful--at least for me. But hey, maybe I'm over-complicating it.
Here is the original long-line:
for i in range(2, l + 1):
job_count_array["//form[@id='SubAvailSelectForm']/font/table[2]/tbody/tr[%d]/td[1]/small" % i] = sel.get_text("//form[@id='SubAvailSelectForm']/font/table[2]/tbody/tr[%d]/td[1]/small" % i)
Here is my attempt at implementing the 'long-line continuation' etiquette (as outlined by a pycon handout from 2007 that I found here):
for i in range(2, l + 1):
job_count_array["//form[@id='SubAvailSelectForm']/font/table[2]/ \
tbody/tr[%d]/td[1]/small" % i] = sel.get_text("/ \
/form[@id='SubAvailSelectForm']/font/table[2]/tb \
ody/tr[%d]/td[1]/small" % i)
Will my attempt (a) be interpreted correctly by the parser and/or (b) be made any more 'pretty' or efficient by any helpful contributers? Thank you.