On 4 Jun 2013 21:18, "Νικόλαος Κούρας" <nikos.gr...@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/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to