import  scrapy
from  scrapy import cmdline
#pycharm执行风格
# cmdline.execute(["scrapy","runspider","./example/spiders/mycrawler_redis.py"])
cmdline.execute(["scrapy","runspider","./example/spiders/mycrawler_redis.py"])