Difference between " and '

François Pinard pinard at iro.umontreal.ca
Fri Jul 22 09:09:02 EDT 2005


[Robert Kern]

> One habit that seems to crop up, though, is that I will use '' for
> internal strings and "" for strings that will eventually get seen by
> the user.  Don't ask me why.

One sure thing is that it would help, later, if you ever want to
internationalise a Python program.  Not that it occurs that often! :-)

-- 
François Pinard   http://pinard.progiciels-bpi.ca



More information about the Python-list mailing list