Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #6236

Re: Newbie string questions

References <BANLkTimv_HVKk1NQzeJBW9UFtoH1afacQA@mail.gmail.com>
Date 2011-05-25 23:09 +1000
Subject Re: Newbie string questions
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2072.1306328988.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, May 25, 2011 at 11:06 PM, Matty Sarro <msarro@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Newbie string questions Chris Angelico <rosuav@gmail.com> - 2011-05-25 23:09 +1000

csiph-web