Re: Need formatting suggestion for long strings

2008-09-05 Thread Robert Dailey
On Fri, Sep 5, 2008 at 3:58 PM, Eric Wertman <[EMAIL PROTECTED]> wrote: > > I'm concerned about the formatting of the string in that I do not want > the > > way I split the string up in source code to affect the way the string is > > displayed to the console. In other words, in source, if I break

Re: Need formatting suggestion for long strings

2008-09-05 Thread Eric Wertman
> I'm concerned about the formatting of the string in that I do not want the > way I split the string up in source code to affect the way the string is > displayed to the console. In other words, in source, if I break up a single > string into multiple lines (using carriage returns), I would expect

Re: Need formatting suggestion for long strings

2008-09-05 Thread Robert Dailey
On Fri, Sep 5, 2008 at 3:06 PM, aha <[EMAIL PROTECTED]> wrote: > Can you be more specific? What is the formatting criteria? Are you > talking about formatting the string for display or are you talking > about the source? Apologies for the confusion. My concern is both. Allow me to explain: I

Re: Need formatting suggestion for long strings

2008-09-05 Thread Robert Dailey
On Fri, Sep 5, 2008 at 2:29 PM, Jean-Paul Calderone <[EMAIL PROTECTED]>wrote: > mystring = ( > "This is a very long string that " > "spans multiple lines and does " > "not include line breaks or tabs " > "from the source file between " > "the strings partitions.") At first glance it lo

Re: Need formatting suggestion for long strings

2008-09-05 Thread aha
On Sep 5, 3:29 pm, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Fri, 5 Sep 2008 14:24:16 -0500, Robert Dailey <[EMAIL PROTECTED]> wrote: > >Hi, > > >I find quite often that I'm writing things like this: > > >raise FatalExcept( "Insufficient number of arguments specified. Exactly {0} > >argum

Re: Need formatting suggestion for long strings

2008-09-05 Thread Jean-Paul Calderone
On Fri, 5 Sep 2008 14:24:16 -0500, Robert Dailey <[EMAIL PROTECTED]> wrote: Hi, I find quite often that I'm writing things like this: raise FatalExcept( "Insufficient number of arguments specified. Exactly {0} arguments are required. See stage.bat for documentation on accepted parameters.".form

Need formatting suggestion for long strings

2008-09-05 Thread Robert Dailey
Hi, I find quite often that I'm writing things like this: raise FatalExcept( "Insufficient number of arguments specified. Exactly {0} arguments are required. See stage.bat for documentation on accepted parameters.".format( num_arguments ) ) On my display (Vertical monitor), this exceeds the widt