On Sun, 27 Jun 2010 15:56:23 -0700
Marc Tompkins wrote:
On Sun, Jun 27, 2010 at 3:20 PM, wrote:
I don't have any insight into your other piece of code, but here
I think you
just need another set of parentheses - so that the string
interpolation is
done first, and the result
Can you send the full error text please? I'm not sure which
is line 55 and Python normally displays the faulty line as
part of the error trace.
As it is I can't see any reason for it to fail but I'd like to
be sure I'm looking at the right place!
Also is there any reason why you explicitly c
Hello all!
I would like to ask you the following: what should i do to be executed
my correctly?
The error:
Traceback :
File "insert_into_db_v9.py", line 55, in
TypeError: an integer is required
The code i use is the following:
import psycopg2
import os
from os import sep, listdir, path
im