title: android -> how to run python script as root?
body: <p>How can I run a python script as root in Android ?
  I made a simple python script and placed it in /data/data/py.test/pyshell.py
  the content of pyshell.py is</p>
  
  <pre><code>import os
  os.system('am start -d "http://www.stackoverflow.com"')
  </code></pre>
  
  <p>If I try the command "python /data/data/py.test/pyshell.py"
  It should normally start the web-browser but it doesn't. I just get an message:
  Starting: Intent {dat=<a href="http://www.stackoverflow.com">http://www.stackoverflow.com</a>}</p>
  
  <p>But if I go to Terminal Emulator and write:</p>
  
  <pre><code>su
  python /data/data/py.test/pyshell.py
  </code></pre>
  
  <p>I get root rights and the browser starts. So the problem must be with root.</p>
  
  <p>How can I give "/data/data/py.test/pyshell.py" automatic/always root access. </p>