[Tutor] How to leave literal %s in output of formatted string

Magnus Lyckå magnus@thinkware.se
Fri May 16 19:06:01 2003


At 10:28 2003-05-15 -0400, Jeff Kowalczyk wrote:
>I want to build a format string in code. How do I leave a
>literal %s in my string formatting output? I can't find any
>escape code for the % character.

Did you look in the manual?

http://www.python.org/doc/current/lib/typesseq-strings.html


--
Magnus Lycka (It's really Lyckå), magnus@thinkware.se
Thinkware AB, Sweden, www.thinkware.se
I code Python ~ The shortest path from thought to working program