AccordBox/scrapy-spider-example

"run scrapy_env.py" in scrapy shell get syntax error

liusy708 opened this issue · 1 comments

Thanks for the great tutorial series, it helps me a lot. I have a problem in this part: #6: Scrapy Shell Overview & Tips

My env:
python3.7 with docker
Scrapy 1.5.2

Problem:

>>> run scrapy_env.py
  File "<console>", line 1
    run scrapy_env.py
                 ^
SyntaxError: invalid syntax

It works after I installed IPython.