Some easier way to supply argv?

  • 1
  • 7

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?
Question is not answered.
Also asked by Csaba Kiss  
You can enable the "Show this page" checkbox in Before launch settings of your run configuration, so the configuration dialog will appear automatically.