1、dos窗口进入存放python项目的目录
D:\PycharmProjects>
2、执行类似scrapy startproject myScrapy_1命令,myScrapy_1为项目名称
D:\PycharmProjects>scrapy startproject myScrapy_1
New Scrapy project 'myScrapy_1', using template directory 'd:\\python\\lib\\site
-packages\\scrapy\\templates\\project', created in:
D:\PycharmProjects\myScrapy_1
You can start your first spider with:
cd myScrapy_1
scrapy genspider example example.com
3、pycharm打开目录,发现已经自动生成了好多文件
.....转载请注明:谷谷点程序 » 命令创建一个scrapy 蜘蛛项目