Skip to content
← Back to Community
Where and how to use command prompt in Repl.it
Profile icon
nftn

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.

Answered by ash15khng [earned 5 cycles]
View Answer
Voters
Profile icon
rejereal42623
Profile icon
JesusAmbrocioci
Profile icon
StanleyThomas-R
Profile icon
RISHITAPATHAK
Profile icon
jakemonroid
Profile icon
LiamVan6
Profile icon
sanjay04
Profile icon
TatianaDavis1
Profile icon
mirvahid
Profile icon
EkaterinaOsipov
Comments
hotnewtop
Profile icon
ash15khng

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.

Profile icon
nftn

@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.

Profile icon
nftn

@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.

Profile icon
Nefomemes

@ash15khng
I can't, I am using Firefox Dev Edition and it creates a new private tab.

Profile icon
UMARismyname

@Nefomemes Then to access Command Palette, use Fn+F1, or maybe just F1. If even that doesn't work, right-click anywhere in the editor and click 'Command Palette'.