title: Python: Pass a generic dictionary as a command line arguments
body: <p>I have a script that needs to take in the name of a file and a set of key=value pairs.  The set of key=value pairs is not defined. They are dependent on the file that was passed in.</p>
  
  <p>eg:</p>
  
  <pre><code>Script.py file1 bob=1 sue=2 ben=3  # file 1 needs bob, sue, and ben
  
  Script.py file2 mel=1 gorge=3 steve=3 # file 2 needs mel, gorge, and steve
  </code></pre>
  
  <p>Is this possible with argparse / optparse or do I have to build my own parser?</p>