Re: [Tutor] Continuation of long lines of string characters

2013-04-30 Thread boB Stepp
I was just now playing around in the interpreter trying print('Hello''world!') thinking I would get a syntax error, only to discover the kernel of what you show below... On Tue, Apr 30, 2013 at 9:28 PM, brian arb wrote: > I really like breaking my long strings like... > > And rewrite it like this

Re: [Tutor] Continuation of long lines of string characters

2013-04-30 Thread Steven D'Aprano
On 01/05/13 12:12, boB Stepp wrote: I have been looking through PEP 8--Style Guide for Python Code. It recommends a maximum line length of 79 characters. What is the preferred way to continue on another line or lines really long print functions of string literals (Python 3)? The only thing that i

Re: [Tutor] Continuation of long lines of string characters

2013-04-30 Thread brian arb
I really like breaking my long strings like... Take this... my_very_long_string = "I have been looking through PEP 8--Style Guide for Python Code. It recommends a maximum line length of 79 characters. What is the preferred way to continue on another line or lines really long print functions of str

[Tutor] Continuation of long lines of string characters

2013-04-30 Thread boB Stepp
I have been looking through PEP 8--Style Guide for Python Code. It recommends a maximum line length of 79 characters. What is the preferred way to continue on another line or lines really long print functions of string literals (Python 3)? The only thing that immediately occurs to me is to break up