title: How to execute python script with embedded python with arguments?
body: <p>I've cross-compiled python and embedded it in my iOS app. I'm able to execute python script  as a string (<code>PyRun_SimpleString</code>) and import module and execute function with arguments (<code>PyImport_Import</code> and <code>PyObject_CallObject</code>) like in python embedding <a href="https://docs.python.org/2/extending/embedding.html" rel="nofollow">doc</a>.</p>
  
  <p>But how can i execute python script file with arguments in command-line way:</p>
  
  <pre><code>file.py arg1 arg2
  </code></pre>
  
  <p>?</p>