Richard Schulman schrieb:

> 
> cursor.execute("""select mean_eng_txt from mean
>                   where mean_id=:arg_1""",arg_1)

cursor.execute("""select mean_eng_txt from mean
                    where mean_id=:arg_1""",{"arg_1":arg_1})

> Traceback (most recent call last):
>    File "oracle_test.py", line 7, in ?
>       cursor.execute('select mean_eng_txt from mean where
>       mean_id=:arg_1',arg_1)
> TypeError: expecting a dictionary, sequence or keyword args
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to