Where and how to use command prompt in Repl.it
nftn (0)

I am now learning scrapy. When I use Anaconda App, I can type "scrapy startproject tutorial" in Anaconda prompt or CMD to start a new project, but in repl.it, where shall I input this command? Either Shell or main.py is not applicable to be input, since which cannot run the command.

You are viewing a single comment. View All
ash15khng (292)

Do Control+Shift+P (or Cmd+Shift+P if on a Mac) and type "Open Shell". Press enter and a shell should open. However, it uses the Linux bash instead of the Windows CMD.

nftn (0)

@ash15khng Many thanks for your kind response. Now I can find open shell in repl.it and input command in it just like CMD in windows.

nftn (0)

@ash15khng Hi Ash, when I try to save the scrapy data by inputting 'scrapy crawl newproject -o items.json' in the shell, then it proceeded successfully, I input command 'dir' to see all the files under folder newproject, it showed items.json in the shell, but I cannot see it in the folder tree (in the left of the site repl.it layout). And after I refresh the page, I still cannot see this newly created file(items.json). I try 'dir' command again in the shell, neither can I see the files in the shell, it is really strange. Then where is my newly created file items.json? Do you know? Thanks.