Very stupid question about a % symbol

Xavier Ho contact at xavierho.com
Thu Sep 16 18:04:42 CEST 2010


On 17 September 2010 01:25, J <dreadpiratejeff at gmail.com> wrote:

> Is there a better way to print a '%' in the string when also using
> formating?
>

I believe %% will escape the % and prints it straight out.

Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100917/b9ccd163/attachment.html>


More information about the Python-list mailing list