I personally use this method and saw how it was used in PEP8 materials:
long_string = ('this is a really long string I want ' 'to wrap over multiple lines')
You can also do:
long_string = 'this is a really long string I want '\ 'to wrap over multiple lines'
According to PEP8, you should try to keep the maximum code width up to 79 characters, and usually docs and comments up to 72.
I also recommend os.path look at os.path .
Lillian seabreeze
source share