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?