Calling a Python file with arguments form within another Python file
<p>Suppose I need to run a python file, <code>x.py</code>, from within <code>y.py</code>, passing variable <code>z</code> from <code>y.py</code> to <code>x.py</code>.</p>

<p>How would I accomplish this? Would something like this work?</p>

<pre><code>call(["python","x.py",z])
</code></pre>
