Re: [Tutor] sqlite3 place holder problem

2013-10-04 Thread Alex Kleider
On 2013-10-04 02:48, Alan Gauld wrote: On 04/10/13 03:14, Alex Kleider wrote: Thanks, I discovered that when I went I read further in the documentation. This is the part that lead me a stray: """ # Larger example that inserts many records at a time purchases = [('2006-03-28', 'BUY', 'IBM', 100

Re: [Tutor] sqlite3 place holder problem

2013-10-04 Thread Alan Gauld
On 04/10/13 03:14, Alex Kleider wrote: Thanks, I discovered that when I went I read further in the documentation. This is the part that lead me a stray: """ # Larger example that inserts many records at a time purchases = [('2006-03-28', 'BUY', 'IBM', 1000, 45.00), ('2006-04-05', '

Re: [Tutor] sqlite3 place holder problem

2013-10-03 Thread Alex Kleider
On 2013-10-03 18:52, Alex Kleider wrote: The following class method """ def insert(self, DataBase=DataBase, Table=Table): """ Insert instance of ClassMate into . """ with sqlite3.connect(DataBase) as con: cur = con.cursor() row = \

Re: [Tutor] sqlite3 place holder problem

2013-10-03 Thread Alex Kleider
On 2013-10-03 19:07, bob gailer wrote: On 10/3/2013 9:52 PM, Alex Kleider wrote: The following class method """ def insert(self, DataBase=DataBase, Table=Table): """ Insert instance of ClassMate into . """ with sqlite3.connect(DataBase) as con: c

Re: [Tutor] sqlite3 place holder problem

2013-10-03 Thread bob gailer
On 10/3/2013 9:52 PM, Alex Kleider wrote: The following class method """ def insert(self, DataBase=DataBase, Table=Table): """ Insert instance of ClassMate into . """ with sqlite3.connect(DataBase) as con: cur = con.cursor() row = \