I use sqlite3 as database.
I'm trying to execute my SQL query :
sql = "INSERT INTO info_calc (application, version, path, os, user, ip) VALUES (?, ?, ?, ?, ?, ?)"
args = my_argv[2], my_argv[3], my_argv[4], sys.platform, getpass().getuser(), machine
c.execute(sql, args)
but I have this error :
args = my_argv[2], my_argv[3], my_argv[4], sys.platform, getpass().getuser(), machine
TypeError: 'module' object is not callable
I already saw this post : TypeError: 'module' object is not callable, but they spoke about socket.