Thanks!!
--
http://mail.python.org/mailman/listinfo/python-list
> Will anything else work here?
Use %%
print "%%s %s" % "foo"
--
Regards,
Diez B. Roggisch
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
I'm trying to do something along the lines of
print '%temp %d' % 1
Traceback (most recent call last):
File "", line 1, in ?
ValueError: unsupported format character 't' (0x74) at index 1
Use %%:
>>> '%%temp %d' % 1
'%temp 1'
--
Erik Max Francis && [EMAIL PROTECTED] && htt