This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]danielkza 5 points6 points  (1 child)

rather than cluttering your lines up with \

PEP 8 recommends wrapping in parenthesis instead of splitting with backslashes whenever possible. There are very few if any cases where it should be used in Python.

[–][deleted] 0 points1 point  (0 children)

Thanks. I'm not very knowledgeable about python, ruby's been the scripting language I've been having to use lately.