While writing an application parsing command line arguments I would like to run it with various parameters.
I don\'t want to create a Run Configuration for ever
Although yole's answer is the de facto way to be prompted for thw arguments before running a program, it is slightly annoying because:
Nothing you could do about that. (Except maybe file a ticket. Have you done that?)
I'm just adding what I used to do before I knew about Googled for this option for the sake of completeness (obvously, this is a hack in the least glamorous sense of the term). But it did suit my workflow as I often only had discrete lines to test with, and didn't switch that often.
sys.argv
(pass it through lambda args: [__name__] + args.split()
to reduce the boilerplate);