Difference between " and '

Andrew Dalke dalke at dalkescientific.com
Fri Jul 22 19:30:13 CEST 2005


François Pinard wrote:
> There is no strong reason to use one and avoid the other.  Yet, while
> representing strings, Python itself has a _preference_ for single
> quotes. 

I use "double quoted strings" in almost all cases because I
think it's easier to see than 'single quoted quotes'.

				Andrew
				dalke at dalkescientific.com




More information about the Python-list mailing list