Ask coding questions

← Back to all posts
How do I set command line arguments for my REPL
evanxg852000 (1)

my python repl is using sys.argv, how do I pass one in order to test ?

Commentshotnewtop
tejes (0)

It's a shame Ctrl + Shift + P opens private browsing in Firefox.

timmy_i_chen (952)

@tejes you can also get there with F1

AlephZero (242)

Press Ctrl-Shift-P inside your repl and then "Open Shell".
This will open a normal shell inside your repl directory, where you can run your program as you would on a regular command prompt, with command line arguments.

There might be a better way to do this, but this is the only way I know.

Sorry for the late reply, and keep coding on repl.it!