Thank you very much.
2009/8/30 Cameron Simpson
> On 29Aug2009 17:27, Sergio Charpinel Jr.
> wrote:
> | Hi,
> | I have this statement cursor.execute("SELECT * from session_attribute
> WHERE
> | sid=%s", ( user ))
> | and I'm receiving this error :
> |
> | TypeError: not all arguments converted d
On 29Aug2009 17:27, Sergio Charpinel Jr. wrote:
| Hi,
| I have this statement cursor.execute("SELECT * from session_attribute WHERE
| sid=%s", ( user ))
| and I'm receiving this error :
|
| TypeError: not all arguments converted during string formatting
|
| What is wrong ?
This:
( user )
is
29.08.2009 17:26 пользователь Tim Chase
написал:
ivanko@gmail.com wrote:
29.08.2009 15:40 пользователь "Sergio Charpinel Jr."
sergiocharpi...@gmail.com> написал:
Thanks.
Do you know if both of them works for mysql too?
2009/8/29 ivanko@gmail.com>
29.08.2009 15:2
ivanko@gmail.com wrote:
29.08.2009 15:40 пользователь "Sergio Charpinel Jr."
написал:
Thanks.
Do you know if both of them works for mysql too?
2009/8/29 ivanko@gmail.com>
29.08.2009 15:27 пользователь "Sergio Charpinel Jr."
sergiocharpi...@gmail.com> написал:
Actually, this wo
29.08.2009 15:40 пользователь "Sergio Charpinel Jr."
написал:
Thanks.
Do you know if both of them works for mysql too?
2009/8/29 ivanko@gmail.com>
29.08.2009 15:27 пользователь "Sergio Charpinel Jr."
sergiocharpi...@gmail.com> написал:
Actually, this works for any string (it doesn'
I have this statement cursor.execute("SELECT * from session_attribute WHERE
sid=%s", ( user ))
and I'm receiving this error :
TypeError: not all arguments converted during string formatting
Two possibilities occur to me:
1) the 2nd parameter to execute() usually needs to be a tuple (or
maybe
Hi,
I have this statement cursor.execute("SELECT * from session_attribute WHERE
sid=%s", ( user ))
and I'm receiving this error :
TypeError: not all arguments converted during string formatting
What is wrong ?
--
Sergio Roberto Charpinel Jr.
--
http://mail.python.org/mailman/listinfo/python-lis