Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python.': 0.02; 'subject:string': 0.09; 'translations': 0.09; 'subject:python': 0.11; 'to:name:python-list@python.org': 0.14; '.py': 0.16; 'err,': 0.16; 'from:addr:lanyjie': 0.16; 'from:name:yingjie lan': 0.16; 'message-id:@web121502.mail.ne1.yahoo.com': 0.16; 'necessary,': 0.16; 'received:124.205': 0.16; 'reply-to:addr:lanyjie': 0.16; 'reply-to:name:yingjie lan': 0.16; 'yingjie': 0.16; 'code,': 0.19; 'header:In-Reply-To:1': 0.22; 'cheers,': 0.26; 'subject:skip:i 10': 0.28; 'reply-to:addr:yahoo.com': 0.28; 'file': 0.33; 'agree': 0.33; 'turn': 0.33; 'good.': 0.34; 'two': 0.35; 'to:addr:python- list': 0.35; 'there': 0.36; 'whatever': 0.36; 'but': 0.37; 'subject:: ': 0.37; 'it.': 0.38; 'to:addr:python.org': 0.39; 'stand': 0.60; 'most': 0.61; 'natural': 0.64; 'header:Reply-To:1': 0.67; 'sounds': 0.71; 'actually,': 0.84; 'execution.': 0.84; 'hardly': 0.84; 'received:98.138.90.53': 0.91 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 112203.89317.bm@omp1035.mail.ne1.yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1333358242; bh=qJlN20SyNvmeDaWBCMCUj/VD4iiGYmc6DfWfTEuRubQ=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=q0GFYdktMszdWcVcPownADAllMb070Pa+tN9gfJyZPhwH8HSQiZMLZPA2J+/HZU2o9qQjuQw2p2VNn0cRIK+CnK5GbT8tm8R6BpitVWzKu2L6zdSjkeM3rCT2S6ra13dFz28rRbTvtEIyVFKzq285cRyoKUAwr/JFF9g7EriKgk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=o7w5y3tRaBB4QTOOqJxmbFu6wER88Xi6GCqVja+Gy7aCKFnn7vhO8g3l9vcxHQ8WObgF0pPEXc6YgPQ2VsV9VlFC5n2WXvd5doGdkRmH/jqsXjzuN4cxfEQuad7qPILv2RKMEFohITjPhOG7HCWaUqGnxb4uuL0gEnHQSYeR5I8=; X-YMail-OSG: f_B_lVEVM1mt4eZRahNA3Wp.v0iF8743DKvdryRQtUclmnL 0uafqkNpXUvU0HzZZ3HNsrmHVzqtoMldjNeGDC5MxoLVIC4sBCGsDS5uT3ou iyk0C926vWoMCLcujCi.jvxaJe3pEOsbz9maEg_nR4PtZilMcPFTzA8URnMs PKXSPQUz3JaoKV1Co95KhmnEAgufW73BBr3hY7RPiqFCSlNrUHcMT5.ndA61 9F0mLNcYH3.keYJ.KsgGOS3y6YJIJAyWgQzADi4MuTywb2H9okfxqRuXya5t EWxrKwDUhtlhOgcPnCimHmqnIgSe2nXgrgnw912C_ol12WS63lnXDnK_iyKH JluNpd3aXin4dybd7Ro1z8_YirPhGXhgkzJCsK6sAQEY13V_jA1R5bvEqTPR T67UYSH6NTUBckt5yPStycti8m96suQDm_nk8twijbT6PQ2JlXoXWkdFyUl_ wCTPfXhheE3KqI0Z9KrKf5SE- X-Mailer: YahooMailWebService/0.8.117.340979 References: <1333174946.18436.YahooMailNeo@web121506.mail.ne1.yahoo.com> <4f7962b0$0$29981$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 2 Apr 2012 02:17:21 -0700 (PDT) From: Yingjie Lan Subject: Re: string interpolation for python To: "python-list@python.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Yingjie Lan List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333358447 news.xs4all.nl 6899 [2001:888:2000:d::a6]:46669 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22452 > Actually, this sounds like a job for a precompiler/preprocessor. Do=0A=0A= > whatever translations you want on your code, then turn it into a .py=0A> = file for execution. But hardly necessary, as there are already two -=0A> er= r, three, I stand corrected - perfectly good ways to do it.=0A=0A=0AAgree a= nd disagree.=A0=0A=0AThe other ways are not perfectly good.=0AThey stinks i= n Python.=A0=0AThis new way is the most natural way.=0AEffortless, natural.= That's my Python.=0A=0ACheers,=0AYingjie=0A