title: Enter adb shell from python
body: <p>I'm trying to execute command to adb shell from python
  I'm using Windows OS</p>
  
  <p>On CMD :</p>
  
  <pre><code>C:\Users\deounix&gt;adb shell
  shell@android:/ $ su root
  su root
  root@android:/ # reboot
  </code></pre>
  
  <p>What I'm doing is :</p>
  
  <pre><code>import os
  
  os.popen("adb shell &amp; su root &amp; reboot")
  </code></pre>
  
  <p>But it isn't work</p>
  
  <p>How can I do it?</p>