title: How to solve unrecognized arguments error?
body: <p>The problem is that I can not get through the first step of running the simplest command. When I write this code </p>
  
  <pre><code>import argparse
  parser = argparse.ArgumentParser()
  parser.parse_args()
  </code></pre>
  
  <p>an then i get this error </p>
  
  <blockquote>
    <p>usage: <strong>main</strong>.py [-h]<br>
    <strong>main</strong>.py: error: unrecognized arguments: -f<br>
    C:\Users\Saeid\AppData\Roaming\jupyter\runtime\kernel-301e1312-128e-4c4d-9ae8-<br>
    035b05a69a59.json</p>
  </blockquote>
  
  <p>An exception has occurred, use %tb to see the full traceback.</p>
  
  <p>SystemExit: 2</p>
  
  <blockquote>
    <p>C:\Program Files\Anaconda3\lib\site-<br>
    packages\IPython\core\interactiveshell.py:2889: UserWarning: To exit: use<br>
    'exit', 'quit', or Ctrl-D.<br>
    warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)  </p>
  </blockquote>