Ask coding questions

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

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

AlephZero (351)

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!

tejes (1)

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

timmy_i_chen (1153)

@tejes you can also get there with F1

Nefomemes (3)

It will lower my volume instead.

IshTakkar (0)

@Nefomemes press it along with the function key on your keyboard

GunnarFunderbur (6)

thats because you have fn lock on SMH