Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed3.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.083 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.02; 'charset:iso-8859-7': 0.04; 'output': 0.05; 'cc:addr:python-list': 0.11; 'wrote:': 0.18; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'please?': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'subject:from': 0.34; 'subject: (': 0.35; 'received:google.com': 0.35; 'skip:& 10': 0.38; 'files': 0.38; 'skip:& 20': 0.39; "couldn't": 0.39; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'of:': 0.68; '8bit%:57': 0.74; 'obvious.': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/ZhFiYJhzWSPGDcgRzfpT/b2Vof7+k/Sj1yyRjmftZg=; b=QLiyBNev8z8Hs/8qpE91TnWkxEjkmLUNJJkQbGUJaxXtvEtEg37S6LPF922tW75mgD jXlH3XezAH+iBX8ScjWPj/pWnupYrxa6YzsfTi7wr0LEmX4RUQLp2td4rxFkyEoo+zkG P90i2HTEDCsXclxXgBAOEp1LrR7YAYJTvuJUcIGfxGcCCF+Ig3TkbUPobRXigq4ADd9l GxcUTBdd3MDb1uZPyJnhCzipBq5vN7Pt9A9fHRz/lIODAGG+KuMngHzO0g2FnkqhXEBN LzEdYaQ0enqTPkSXT8uvLFTpZH+NegT1Rt6FLKqjcmTHcjydhWRuhK/muvHxDvLa53FY A7qA== MIME-Version: 1.0 X-Received: by 10.58.116.229 with SMTP id jz5mr19656571veb.14.1370377586348; Tue, 04 Jun 2013 13:26:26 -0700 (PDT) In-Reply-To: <4c271468-22f4-4c93-af14-02b978b2e6bd@googlegroups.com> References: <2c425f2b-99de-4453-964e-c585f2043f71@googlegroups.com> <18755849-35bc-4925-811a-8f6f9fb5bf9c@googlegroups.com> <8c16324f-da12-44ff-bf2f-4ae56f9127c0@googlegroups.com> <51ac3bd6$0$11118$c3e8da3@news.astraweb.com> <51ad1cdd$0$11118$c3e8da3@news.astraweb.com> <306a22ea-fbf7-4097-af31-121a999957d6@googlegroups.com> <9c482ba0-23ac-4e66-a0e1-a18be9fd82d8@googlegroup> <06a19483-65df-4fcd-9430-b45a01c9dbab@googlegroups.com> <0c215f6d-c1eb-4dbf-b132-80e83ece0992@googlegroups.com> <4c271468-22f4-4c93-af14-02b978b2e6bd@googlegroups.com> Date: Tue, 4 Jun 2013 21:26:26 +0100 Subject: Re: Changing filenames from Greeklish => Greek (subprocess complain) From: =?ISO-8859-1?Q?F=E1bio_Santos?= To: =?ISO-8859-7?B?zenq/Ovh7/Igyu/98eHy?= Content-Type: multipart/alternative; boundary=047d7b5d5f663e4f6204de59e53e Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list 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: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370377590 news.xs4all.nl 15958 [2001:888:2000:d::a6]:55621 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46967 --047d7b5d5f663e4f6204de59e53e Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable On 4 Jun 2013 21:18, "=CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1=F2" wrote: > > Lele the output of: > > stmt =3D "cur.execute('''SELECT url FROM files WHERE url =3D %s''', ( fullpath, )" > chars_count =3D Counter(stmt) > print("Number of '(': %d" % chars_count['(']) > print("Number of ')': %d" % chars_count[')']) > > is: > > Number of '(': 2 Number of ')': 1 > > What do you make out of this please? He couldn't have been more obvious. You are missing a closing parenthesis. http://xkcd.com/859/ --047d7b5d5f663e4f6204de59e53e Content-Type: text/html; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable


On 4 Jun 2013 21:18, "=CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1=F2"= ; <nikos.gr33k@gmail.com>= ; wrote:
>
> Lele the output of:
>
> stmt =3D "cur.execute('''SELECT url FROM files WHERE = url =3D %s''', ( fullpath, )"
> chars_count =3D Counter(stmt)
> print("Number of '(': %d" % chars_count['(']= )
> print("Number of ')': %d" % chars_count[')']= )
>
> is:
>
> Number of '(': 2 Number of ')': 1
>
> What do you make out of this please?

He couldn't have been more obvious. You are missing a cl= osing parenthesis.

http://xkcd.com/859/

--047d7b5d5f663e4f6204de59e53e--