Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
19

How do I set command line arguments for my REPL

evanxg852000
evanxg852000

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

4 years ago
You are viewing a single comment. View All
11
AlephZero
AlephZero

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!

4 years ago