Changing filenames from Greeklish => Greek (subprocess complain)

Fábio Santos fabiosantosart at gmail.com
Tue Jun 4 16:26:26 EDT 2013


On 4 Jun 2013 21:18, "Νικόλαος Κούρας" <nikos.gr33k at gmail.com> wrote:
>
> Lele the output of:
>
> stmt = "cur.execute('''SELECT url FROM files WHERE url = %s''', (
fullpath, )"
> chars_count = 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130604/ec7e2c8f/attachment.html>


More information about the Python-list mailing list