function & class

jupiter anil.jupiter9 at gmail.com
Mon Feb 19 00:54:45 EST 2007


    c.execute("select symbol,tvolume,date,time from "+self.dbase+"
where symbol=
?",t)
ProgrammingError: SQLite objects created in a thread can only be used
in that sa
me thread.The object was created in thread id 976 and this is thread
id 944

I am getting this error when I am using sql command within
class.function accessing from another class

how can I create seperate instance for sqlite objects ???????


@nil




More information about the Python-list mailing list