Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Zachary Ware Newsgroups: comp.lang.python Subject: Re: Question about code writing '% i, callback' Date: Mon, 30 Nov 2015 10:53:08 -0600 Lines: 9 Sender: zachary.ware@gmail.com Message-ID: References: <25af8ac3-5fc7-44bd-a73f-7a870b69515a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de 55UBa7+lwZf4cKEDq31Pew9r2F7UZMHk1s85ZYGb5zeA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Question': 0.05; 'subject:code': 0.07; 'callback': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:writing': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; '2015': 0.20; 'to:name:python- list@python.org': 0.20; '%s"': 0.22; 'am,': 0.23; 'header:In- Reply-To:1': 0.24; 'mon,': 0.24; 'message-id:@mail.gmail.com': 0.27; 'url:python': 0.33; 'received:google.com': 0.35; 'nov': 0.35; 'url:org': 0.36; 'received:209.85': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.40; '30,': 0.63; 'strange': 0.63; 'received:209.85.214.181': 0.84; 'received:mail- ob0-f181.google.com': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=8gJsQ4FQYB+4WRGKtv536nFvES0IJ/S1KQgGGuGO13g=; b=bntq0HJFmFFITlCP4tlusTF9wGK41e96OJ5SmlzeKwT/y8OzDqFQsIUDCWluKbojgK CqIojAe11pL80jiIf01lJHo/LkRjVzJ2/KYd7gCcJ/YLhfmGwkdbETu9o+cGpEOLxda4 5ugRC+8ypMSQsaUE3in8yd44nhRVOlrg+dF9B59gQsmIJE0Hz1Hv7DnfJQjleBhJ9/Gq N7tqQq8RBAS543vodzWV2jZYg5cJ2T4MLNmToUQi2FgppoScvkbNGXXES/dz3FACuQoD 6kVyVEAHImcEsG0pQf6SmlTnp8fberseseu2xupc2rYvMPumtO3+OxZHqrLlcuOOc5Dl /ILQ== X-Received: by 10.182.120.4 with SMTP id ky4mr17839477obb.16.1448902407594; Mon, 30 Nov 2015 08:53:27 -0800 (PST) In-Reply-To: <25af8ac3-5fc7-44bd-a73f-7a870b69515a@googlegroups.com> X-Google-Sender-Auth: moVcraw8FNV12cqxM7f3cXniT-Y X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99743 On Mon, Nov 30, 2015 at 10:44 AM, fl wrote: > The content inside parenthesis in last line is strange to me. > > "button %s" % i, callback https://docs.python.org/library/stdtypes.html#printf-style-string-formatting -- Zach