% sign in python?
howe.steven at gmail.com
Thu Jul 17 22:04:16 CEST 2008
Terry Reedy wrote:
> korean_dave wrote:
>> What does this operator do? Specifically in this context
>> test.log( "[[Log level %d: %s]]" % ( level, msg ), description )
>> (Tried googling and searching, but the "%" gets interpreted as an
>> operation and distorts the search results)
> Having seen a number of comments like this over the years (about the
> difficulty of searching for symbol meanings), I just started, last
> night, a symbol index listing nearly all Python syntax uses of
> non-alpha-or-digit ascii symbols. When I finish and upload it
> somewhere, I will post an announcement with the link.
I thought, in this contexted, it was mapping operator.
More information about the Python-list