golu wrote:
here i have posted my code...plz tell why am i getting the error "int
argument required" on the hash marked line(see below) although i am
giving an int value
... url_count += 1
curse.execute("INSERT INTO URL_TABLE VALUES(%d,%s)",
(url_count,file_path)) #error
> ...
Try something more like:
> ... url_count += 1
> curse.execute("INSERT INTO URL_TABLE VALUES(%d,%s)",
> [(url_count,file_path)])
> ...
--
http://mail.python.org/mailman/listinfo/python-list
