Вот мой стол: drop table if exists stocks;
create table stocks (
stock_id integer primary key not null,
stockname string not null
);
Код Python: import sqlites3
rows = [(1, 'IBM'),
(2, 'MSOFT'),
(1, 'GOOG'),
]
#c.executemany('insert into stocks values (?,?)', ...
24 дек. 2012, в 10:39