title: Handling argparse conflicts
body: <p>If I import a Python <a href="https://github.com/paulcalabro/api-kickstart/blob/master/examples/python/config.py" rel="nofollow">module</a> that is already using <strong>argparse</strong>, however, I would like to use <strong>argparse</strong> in my script as well ...how should I go about doing this?</p>
  
  <p>I'm receiving a <em>unrecognized arguments</em> error when using the following code and invoking the script with a -t flag:</p>
  
  <p><strong>Snippet:</strong></p>
  
  <pre><code>#!/usr/bin/env python
  
  ....
  import conflicting_module
  import argparse
  ...
  
  #################################
  # Step 0: Configure settings... #
  #################################
  parser = argparse.ArgumentParser(description='Process command line options.')
  parser.add_argument('--test', '-t')
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code> unrecognized arguments: -t foobar
  </code></pre>