Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99744
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Zachary Ware <zachary.ware+pylist@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Question about code writing '% i, callback' |
| Date | Mon, 30 Nov 2015 10:54:53 -0600 |
| Lines | 19 |
| Sender | zachary.ware@gmail.com |
| Message-ID | <mailman.40.1448902515.14615.python-list@python.org> (permalink) |
| References | <25af8ac3-5fc7-44bd-a73f-7a870b69515a@googlegroups.com> <CAKJDb-Pd-fU+aj3nzgjm_D5UBow6X5BN=idotu5T8=0mj_7JcA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de m/cHipwBzipmb4OgTZDSiQTdRsVpyIZUv8gtApCUJD6A== |
| Return-Path | <zachary.ware@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:Question': 0.05; 'subject:code': 0.07; 'callback': 0.09; 'received:209.85.218': 0.10; '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; 'sorry,': 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; 'should': 0.36; '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; 'to:addr:python.org': 0.40; 'url:3': 0.60; '30,': 0.63; 'strange': 0.63; 'ware': 0.91 |
| 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=uz5/1B2xEh7NVY/fgcm3eqD6pkaTXNFAB6Zwi6q2W0w=; b=X2J86pSirq0iMZqp23uNBJcX11Y0/7B6M/LFyNO94TuVcGcPO8y1ydy+AvbdRGHZBN sBsYJjujL/oQZ3YZDeIdvEB8sO0JfAMB21u0LhQEyFO2ibwwEXTf2MWco6GAdf1CmFLY N6NxbhTkDKzgag9e56jiHc0y36mDpwgS1zz2mHdTIjiS5ii4Lgz4kLXGrJbrkel3MjkL peHSwfphOBKx0uWRRLkI4p+JICP0UiCHRbWfYdJ6KreN4Oy1FPFbYCIsIvdey1obqlYV 4lLPP21NZzFwPNxaWWdQUouMHpuBXCTPfJIAsqC95MU0Rha1zMq8IDtnAlPINCGlNu81 HlDg== |
| X-Received | by 10.202.77.14 with SMTP id a14mr29603213oib.114.1448902512423; Mon, 30 Nov 2015 08:55:12 -0800 (PST) |
| In-Reply-To | <CAKJDb-Pd-fU+aj3nzgjm_D5UBow6X5BN=idotu5T8=0mj_7JcA@mail.gmail.com> |
| X-Google-Sender-Auth | omfe4rw7vYZHkc-uNmy9Vb5y0Ns |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:99744 |
Show key headers only | View raw
On Mon, Nov 30, 2015 at 10:53 AM, Zachary Ware <zachary.ware+pylist@gmail.com> wrote: > On Mon, Nov 30, 2015 at 10:44 AM, fl <rxjwg98@gmail.com> 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 Sorry, should have tested that link before sending. That should be either https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting or https://docs.python.org/2/library/stdtypes.html#string-formatting-operations -- Zach
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Question about code writing '% i, callback' fl <rxjwg98@gmail.com> - 2015-11-30 08:44 -0800
Re: Question about code writing '% i, callback' Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-30 10:53 -0600
Re: Question about code writing '% i, callback' Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-30 10:54 -0600
Re: Question about code writing '% i, callback' Ian Kelly <ian.g.kelly@gmail.com> - 2015-11-30 11:01 -0600
Re: Question about code writing '% i, callback' fl <rxjwg98@gmail.com> - 2015-11-30 10:55 -0800
Re: Question about code writing '% i, callback' Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-11-30 20:44 -0500
Re: Question about code writing '% i, callback' Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-01 09:53 -0600
Re: Question about code writing '% i, callback' fl <rxjwg98@gmail.com> - 2015-11-30 09:36 -0800
Re: Question about code writing '% i, callback' Ian Kelly <ian.g.kelly@gmail.com> - 2015-11-30 11:24 -0700
Re: Question about code writing '% i, callback' Terry Reedy <tjreedy@udel.edu> - 2015-11-30 12:36 -0500
Re: Question about code writing '% i, callback' fl <rxjwg98@gmail.com> - 2015-11-30 09:50 -0800
csiph-web