Re: [Ohrrpgce] Multiline string constants

2012-04-24 Thread Ralph Versteegen
On 24 April 2012 22:45, Mike Caron caron.m...@gmail.com wrote: On Tue, Apr 24, 2012 at 4:41 AM, David Gowers (kampu) 00a...@gmail.com wrote: On Tue, Apr 24, 2012 at 2:42 PM, Seth Hetu seth.h...@gmail.com wrote: Huh, I never knew that Python included the newlines and spaces in multi-line

Re: [Ohrrpgce] Multiline string constants

2012-04-23 Thread Seth Hetu
Huh, I never knew that Python included the newlines and spaces in multi-line strings (probably because I only use them for doc comments, which are post-formatted anyway). Hmm I can think of a few cases where it's useful to keep the spaces, and a few cases where it's useful to strip them.

Re: [Ohrrpgce] Multiline string constants

2012-04-20 Thread James Paige
On Sat, Apr 21, 2012 at 06:09:11AM +1200, Ralph Versteegen wrote: I added \n support to HSpeak the other day on Charbile's request, but should have gone all the way and added multiline string constants. I think I'll just go with to begin and end such a string But I'm not sure how to