Re: [Tutor] pysqlite and functions

2008-04-12 Thread Alan Gauld
"Dinesh B Vadhia" <[EMAIL PROTECTED]> wrote Your code has several strangenesses in it but I'll focus on your query for now... con = sqlite3.connect(":memory:") # create database/table in memory cur = con.cursor()# note: can use the nonstandard execute, executeman

[Tutor] pysqlite and functions

2008-04-12 Thread Dinesh B Vadhia
I'm using a pysqlite select statement within a def function and it's not working because (I suspect) the pysqlite variables are not being declared corrrectly to be used within a def function or the def function is not setup correctly. Here is the code followed by the errors: code co