Difference between double and single quotes

Tim Peters tim_one at email.msn.com
Tue Aug 1 06:28:46 EDT 2000


[pauljolly at my-deja.com]
> Please can someone tell me whether Python distinguishes between
> double and single quotes in any way?

None.  This is an instance of Python's "there's only one way to do it!"
philosophy:  no matter which of ' or " you use, Python picks only one
meaning for them <wink>.

consistency-is-the-hobgoblin-etc-ly y'rs  - tim






More information about the Python-list mailing list