[Tutor] Tutor Digest, Vol 108, Issue 75
Don Jennings
dfjennings at gmail.com
Sat Feb 23 03:40:26 CET 2013
On Feb 22, 2013, at 9:12 PM, tutor-request at python.org wrote:
> Message: 5
> Date: Fri, 22 Feb 2013 21:03:00 -0500
> From: Dave Angel <davea at davea.name>
> To: tutor at python.org
> Subject: Re: [Tutor] How to break long lines?
> Message-ID: <51282354.3030602 at davea.name>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 02/22/2013 08:22 PM, Jim Byrnes wrote:
>>
>>> <snip>
>>>
>>
>> Thanks for giving me so many options to use in the future. When reading
>> I completely blew by the single quote on a single line part. The db is
>> sqlite3 and it seems happy with ''' strings.
>>
>
> FWIW, there is absolutely no difference between a string object created
> with single quotes, one created with triple-quotes, or one created by
> calling some function, or by evaluating some expression.
I beg to differ as it's bitten me on more than one occasion. As Steve pointed out, the triple quoted option embeds newlines. Maybe you mean something different than what I take your statement to mean?
Take care,
Don
More information about the Tutor
mailing list