How to execute file in Python with arguments using import?
<p>I read that you can execute a file using <code>import</code> like this<br>
<strong>file.py</strong>:</p>

<pre><code>#!/usr/bin/env python
import file2
</code></pre>

<p><strong>file2.py</strong>:</p>

<pre><code>#!/usr/bin/env python
print "Hello World!"
</code></pre>

<p>And <strong>file.py</strong> will print <code>Hello World</code>. How would I execute this file with arguments, using <code>import</code>?</p>