On Feb 22, 2013, at 9:12 PM, tutor-requ...@python.org wrote: > Message: 5 > Date: Fri, 22 Feb 2013 21:03:00 -0500 > From: Dave Angel <da...@davea.name> > To: tutor@python.org > Subject: Re: [Tutor] How to break long lines? > Message-ID: <51282354.3030...@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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor