Python Gotcha's?
rusi
rustompmody at gmail.com
Fri Apr 6 01:36:33 EDT 2012
On Apr 6, 9:54 am, Steve Howell <showel... at yahoo.com> wrote:
> JS, YAML, and HTML are pretty similar to Python with respect to single
> vs. double, as far as I know/remember/care.
[Complete ignoramus here -- writing after a few minutes of googling]
YAML: http://yaml.org/spec/current.html#single%20quoted%20style/syntax
seems to indicate that the double-quote is multi-lineable the single
not.
[So YAML double-quote is like python triple-quote]
JS:
http://stackoverflow.com/questions/242813/when-to-use-double-or-single-quotes-in-javascript
seems to have some arcane argument about whether there is a difference
or not
More information about the Python-list
mailing list