generate HTML

Kent Johnson kent37 at tds.net
Tue Nov 15 09:55:29 EST 2005


Jim wrote:
> Perhaps you are trying to do this:
>   'text to go here: %s' % ('text',)
> ?  For that you need a double-quoted string:
>   "text to go here: %s" % ('text',)

Uh, no, not in Python:
 >>> 'text to go here: %s' % ('text',)
'text to go here: text'
 >>> "text to go here: %s" % ('text',)
'text to go here: text'

Kent



More information about the Python-list mailing list