Bug or feature: double strings as one

Anny Mous b1540457 at tyldd.com
Sun Aug 9 19:02:03 CEST 2009


r wrote:

> On Aug 8, 12:43 pm, "Jan Kaliszewski" <z... at chopin.edu.pl> wrote:

>> (Note that multiline-'''-strings are usless in such cases).
>>
> 
> uhh? A much better way to handle such a problem is like this...
> 
> prompt1 = '''
> Some people like to use %s
> ways of doing things just
> so they can support their %s
> way of coding
> '''

Oh wow, you so need to work on your reading comprehension skills! Didn't you
notice Jan's comment that multiline ''' strings are useless??? They add
extra newlines into the string which aren't wanted.

> WOW!, that just somehow looks more professional to me? I hate to long
> strings in the middle of a code block. Please be smart when writing
> code people!!

Because totally failing to pay attention to the requirements is "smart".






More information about the Python-list mailing list