Some easier way to supply argv?

If I need to test my code in Pycharm by giving different argv (say if I have "img = cv2.imread(sys.argv[1])") , I've to go through a very long process of Run->Edit Configurations->Enter the required argv in script parameters->OK->Run script.

Is there a shorter way to accomplish this?
1 comment
Comment actions Permalink
You can enable the "Show this page" checkbox in Before launch settings of your run configuration, so the configuration dialog will appear automatically.

Please sign in to leave a comment.