jeudi 30 janvier 2014

Re: end quote help for a newbie topic




Not sure if this is exactly what you're asking, but perhaps you want triple
quotes?

>>> print "now is the time for all good men ..."

now is the time for all good men ...
>>> print '''now is the time for "all good men" ...'''

now is the time for "all good men" ...

It's not easy to visually distinguish two apostrophes from a double quote
in all fonts, so I've explicitly written this using rich text and
highlighted the Python session snippet in Courier.

Skip






Aucun commentaire:

Enregistrer un commentaire