Turn off line wrap for lists?

2007-01-04 Thread _
(I did google for this, I promise) How do I get python NOT to insert newlines into string representations of lists when I do something like this: strCollector += %s % (['a', 'list', 'with', 'lots', 'of', 'elements'] * 100) ? I would like to set a default never to do this, if possible. (Never

Re: Turn off line wrap for lists?

2007-01-04 Thread Carsten Haese
On Thu, 2007-01-04 at 17:01 -0800, _ wrote: (I did google for this, I promise) How do I get python NOT to insert newlines into string representations of lists when I do something like this: strCollector += %s % (['a', 'list', 'with', 'lots', 'of', 'elements'] * 100) What makes you think

Re: Turn off line wrap for lists?

2007-01-04 Thread Michael Tobis
_ wrote: (I did google for this, I promise) How do I get python NOT to insert newlines into string representations of lists when I do something like this: strCollector += %s % (['a', 'list', 'with', 'lots', 'of', 'elements'] * 100) It shouldn't and doesn't insert newlines. ##