title: What is the purpose of the -m switch?
body: <p>Could you explain to me what the difference is between calling</p>
  
  <pre><code>python -m mymod1 mymod2.py args
  </code></pre>
  
  <p>and</p>
  
  <pre><code>python mymod1.py mymod2.py args
  </code></pre>
  
  <p>It seems in both cases <code>mymod1.py</code> is called and <code>sys.argv</code> is </p>
  
  <pre><code>['mymod1.py', 'mymod2.py', 'args']
  </code></pre>
  
  <p>So what is the <code>-m</code> switch for?</p>