我使用this tutorial來學習燒瓶。在第二段它說,使用這個命令:從Windows 8中的.sql文件創建sqlite3數據庫
sqlite3 /tmp/flaskr.db < schema.sql
但我使用的是Windows 8,我所能做的,而不是該命令的是什麼?這是我的SQL代碼:
drop table if exists entries;
create table entries (
id integer primary key autoincrement,
title text not null,
text text not null
);
我認爲這是sqlite3.exe。所以你可以用Cmd中的參數來調用它。但也許有點不同 – etalon11
不,我不能在sqlite3中使用此命令。我測試了它。你能告訴它我怎樣才能從cmd調用它? –