title: Is there a way to use PhantomJS in Python?
body: <p>I want to use <a href="http://phantomjs.org/">PhantomJS</a> in <a href="http://www.python.org/">Python</a>. I googled this problem but couldn't find proper solutions.</p>
  
  <p>I find <code>os.popen()</code>  may be a good choice. But I couldn't pass some arguments to it.</p>
  
  <p>Using <code>subprocess.Popen()</code> may be a proper solution for now. I want to know whether there's a better solution or not.</p>
  
  <p>Is there a way to use PhantomJS in Python?</p>