title: How to add file path to the command line argument in python
body: <p>I am trying to do image comparison in python. I need to establish two command line arguments, --first  and --second , which are the paths to the two respective input images which are to be compared. I need to know that how can I add image file path to these command line arguments.</p>
  
  <p>I have tried placing the image file paths manually in place of first and second command line arguments by the commands written below but it didnt work .</p>
  
  <pre><code>   ap.add_argument("-f", "--C:\Users\admin\original-01", required=True,
          help="first input image")
     ap.add_argument("-s", "--C:\Users\admin\modified-01", required=True,
          help="second")
  </code></pre>
  
  <h1>This is the actual code</h1>
  
  <pre><code>  from skimage.measure import compare_ssim
    import argparse
    import imutils
    import cv2
  
        # construct the argument parse and parse the arguments
              ap = argparse.ArgumentParser()
              ap.add_argument("-f", "--first", required=True,
          help="first input image")
              ap.add_argument("-s", "--second", required=True,
          help="second")
              args = vars(ap.parse_args())
  </code></pre>
  
  <p>This error appears</p>
  
  <pre><code>  usage: ipykernel_launcher.py [-h] -f FIRST -s SECOND
    ipykernel_launcher.py: error: the following arguments are required: -s/- 
    -second
  </code></pre>