SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Oct 2005
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    newbie has softie python question starting project dmoz

    I just started this scrapy tutorial: http://doc.scrapy.org/intro/tutorial.html

    The first step is to create a dmoz directory so i wrote "scrapy startproject dmoz" in my command prompt. I got this response:

    File "<stdin>", line 1
    scrapy startproject dmoz

    SyntaxError: invalid syntax

    There was an up arrow under the t in project.

    Any ideas.

    Thanks
    Last edited by paul_wilkins; Dec 6, 2010 at 05:35. Reason: request to clarify language

  2. #2
    SitePoint Member
    Join Date
    Dec 2010
    Location
    Silicon Valley
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're trying to execute a command through the python interpreter. The command needs to be executed through the command line.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •