Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Selik Newsgroups: comp.lang.python Subject: Re: String concatenation (was: Steve D'Aprano, you're the "master". What's wrong with this concatenation statement?) Date: Mon, 09 May 2016 18:29:05 +0000 Lines: 54 Message-ID: References: <3414323.Mt0gs2Yp5W@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de q/vfmkQ2Ov29q6YK9ljHFAH9hlSX412RRNQhXM2hqM8A== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'operator': 0.03; 'subject:skip:c 10': 0.07; 'cc:addr:python-list': 0.09; 'statements': 0.09; 'stored': 0.10; '2016': 0.16; 'deprecated.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:?)': 0.16; 'subject:String': 0.16; 'usenet': 0.16; 'wrote:': 0.16; 'string': 0.17; '>': 0.18; 'email addr:gmail.com>': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'posted': 0.21; 'to:2**1': 0.21; 'saying': 0.22; 'exceptions': 0.22; 'sorry,': 0.22; 'am,': 0.23; 'forgot': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'message-id:@mail.gmail.com': 0.27; 'finally,': 0.27; 'tend': 0.27; 'idea': 0.28; "skip:' 10": 0.28; 'values': 0.28; 'coded': 0.29; 'strings,': 0.29; "i'm": 0.30; 'url:mailman': 0.30; 'probably': 0.31; 'url:python': 0.33; "he's": 0.33; 'lock': 0.33; 'url:listinfo': 0.34; 'received:google.com': 0.35; 'should': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; "wasn't": 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'spread': 0.37; 'received:209': 0.38; 'subject:the': 0.39; 'url:mail': 0.40; 'subject:with': 0.40; 'your': 0.60; 'avoid': 0.61; 'real': 0.62; 'phone.': 0.63; 'thomas': 0.63; 'url:index': 0.67; 'internet': 0.70; 'chrisa': 0.84; 'subject:this': 0.85; 'subject:you': 0.85; 'url:php': 0.86; 'safe.': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d5MCXIN/At7+BySs2Hjt1xJwkuUwcoNNQlR1wBjHuYY=; b=NFerMX3eZRrAH9uJMaoRc4T90FVLrpNwZZIhEE00XbVAPj6OZ9uxG0kIwhzv+9UQ3V 1CZx0vFSLGFxFtA0qC4vov+8Xnrwg8YKonYMKEl1nUqsmC97Ze7yC60VbfKCbGBP7rms dL3EGaiYehhelhMv49/nWMovz3nKW3TMoJYnttCD4x0l1xV6tHs6jm4W+T/OaxPMHG5x m4zKViL2v9n7Famo5qyjGURRwSdNBBUal2b+LrAJI5rUSshZPgu2PRv6oAtsXiWfezZy H9QzP177B6A6BcX9i+oLSDkNcl403aEIZppWHggZrGQOtGmtZ2gFbq5hB1HoZYmk+z7c 88DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d5MCXIN/At7+BySs2Hjt1xJwkuUwcoNNQlR1wBjHuYY=; b=d+h1BFwpY0ZZD92CbZDMhGpn/x8Ga7GQ+lh3bKndtn6pEvBDorhYCwnrH82GYISNEX fgX8uLNl8W4TJPvzyiHlQKHVTE9r9wpFg2FF28MPDf7t//KkxsbXs81bJJ/kujsBNQUc ZayWLu+SseJQAqsg/+FKafRIyaQHEDU4wTb6IbXKse+5r0BPnFwk756WYG/IZOFqYx0R 1sGdoQGF4iFQx6GqybGG3eF/nHVPZT/GhY1gwyebaGPcPTuny+jkCRNgb6hIkdEVcKpO rsqegxzii6wv/MDzr4J/MpfNmeoRCE3S0Jgb2CCgua/V4dV0kSSH6ltL+ap7/8qQn/Ra Sz4A== X-Gm-Message-State: AOPr4FWqcns7uXz0JLGxTKPoI6QIVzPY4i3vjLMJXOwk3++FARBSWW1m5k9NlyAkjl+bWzXE0e4OnRHKr2ytwQ== X-Received: by 10.140.253.84 with SMTP id y81mr38915926qhc.56.1462818555528; Mon, 09 May 2016 11:29:15 -0700 (PDT) In-Reply-To: X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <3414323.Mt0gs2Yp5W@PointedEars.de> Xref: csiph.com comp.lang.python:108433 You're saying that wasn't a coded message? On Sun, May 8, 2016, 10:44 PM srinivas devaki wrote: > I'm so sorry, forgot to lock my phone. > On May 9, 2016 9:01 AM, "srinivas devaki" > wrote: > > > f be gfdnbh be b GB GB BH GB vbjfhjb GB bffbbubffffbv GB hbu hbu > > fjbjfbbbufhbvh VB have fbbbbqbgvfb NB bb GB GB GB GB bbu GB vu GB vu GB > GB > > b GB fbufjnb BH GB GB bvvfbubffffbjubuv GB b fbufbbby GB bfffffff GB f = GB > > bbbu GB GB ffinj GB vh vh fjb GB fj GB h h GB gjfthey're the b GB gjf G= BG > > GBG q GB fbb b bh VB ffbff GBG fbfvrgv > > On May 9, 2016 7:49 AM, "Chris Angelico" wrote: > > > > On Mon, May 9, 2016 at 10:44 AM, Thomas 'PointedEars' Lahn > > wrote: > > > With the =E2=80=9C%=E2=80=9D string operator (deprecated), str.format= (), and > > str.Template, > > > you can use other values in string values even without concatenation. > > > > Not deprecated. Don't spread FUD. > > > > > Finally, with SQL you should prefer Prepared Statements and Stored > > > Procedures, not bare strings, to avoid SQL injection: > > > > > > > > > > He is safe. He's using parameterized queries. > > > > > Also, it would be a good idea if you posted under your real name. > > Internet > > > is the thing with cables; Usenet is the thing with people. I for one > > tend > > > to avoid communicating with few-letter entities; exceptions to that > would > > > probably include only E.T., M.J., ALF, and K.I.T.T. > > > > I'm not using Usenet, Mr PointedEars. > > > > ChrisA > > -- > > https://mail.python.org/mailman/listinfo/python-list > > > > > -- > https://mail.python.org/mailman/listinfo/python-list >