我使用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调用它? –