title: how to pass arguments to a module in python 2.x interactive mode
body: <p>I'm using Python 2.7, and I have the following simple script, which expects one command line argument:</p>
  
  <pre><code>#!/usr/bin/env python
  
  import sys
  
  if (len(sys.argv) == 2):
     print "Thanks for passing ", sys.argv[1]
  else:
     print "Oops."
  </code></pre>
  
  <p>I can do something like this from the command line:</p>
  
  <pre><code>My-Box:~/$ ./useArg.py asdfkjlasdjfdsa
      Thanks for passing  asdfkjlasdjfdsa
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>My-Box:~/$ ./useArg.py 
      Oops.
  </code></pre>
  
  <p>I would like to do something similar from the interactive editor:</p>
  
  <pre><code>&gt;&gt;&gt; import useArg asdfasdf
    File "&lt;stdin&gt;", line 1
      import useArg asdfasdf
                           ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>but I don't know how. How can I pass a parameters to import/reload in the interactive editor ?</p>