Newbie string questions

Chris Angelico rosuav at gmail.com
Wed May 25 09:09:45 EDT 2011


On Wed, May 25, 2011 at 11:06 PM, Matty Sarro <msarro at gmail.com> wrote:
> Right now what is stumping me... what exactly does %r do?

You're talking about the formatting operator? It's like the repr function:

http://docs.python.org/library/functions.html#repr

Chris Angelico



More information about the Python-list mailing list