title: Handle spaces in argparse input
body: <p>Using python and argparse, the user could input a file name with -d as the flag.</p>
  
  <pre><code>parser.add_argument("-d", "--dmp", default=None)
  </code></pre>
  
  <p>However, this failed when the path included spaces. E.g. </p>
  
  <pre><code>-d C:\SMTHNG\Name with spaces\MORE\file.csv
  </code></pre>
  
  <p>NOTE: the spaces would cause an error (flag only takes in 'C:SMTHNG\Name' as input).</p>
  
  <pre><code>error: unrecognized arguments: with spaces\MORE\file.csv
  </code></pre>
  
  <p>Took me longer than it should have to find the solution to this problem...
  (did not find a Q&amp;A for it so I'm making my own post)</p>