2018年6月9日复习scrapy爬虫框架
1.本人操作系统为Win10,python版本为3.6,使用的命令行工具为powershell,所起作用和cmd的作用相差不大。
2.进入powershell:在你的爬虫程序文件夹中,在按住shift键的情况下,单击鼠标右键,显示如下图。
![10345471-70a85d82fb7e6358.png](https://i-blog.csdnimg.cn/blog_migrate/4f8d547ecc9d92dbf8c35e9168ee6de1.webp?x-image-process=image/format,png)
1.png
点击“在”此处打开Powershell窗口",可以实现基于当前目录打开powershell
3.在powershell中输入命令"scrapy startproject Tencent",确认命令正确以后运行,运行正确的结果应该如下图。