I'm currently learning Python in spyder software and was just wondering (In reference to my example below) in simplified terms what the sys.argv[1] represents. Is it simply asking for an input?
    import sys
    fn = sys.argv[1]
    filename = os.path.split(fn)[-1].split(".")[0]
    filepath = os.path.split(fn)[0]
    src = cv2.imread(fn)
    # read the image```
>IndexError: list index out of range
 
    