title: Running Python scripts inside Android Studio
body: <p>I am running Android Studio 2.2.3</p>
  
  <p>I need to run Python scripts during my development to process some data files. The final <code>apk</code> does not need to run Python in the device.</p>
  
  <p>At the moment I run the scripts from a terminal or from PyDev for Eclipse, but I was looking for a way of doing it from Android Studio.</p>
  
  <p>There seems to be a way to do this, as when I right-click on a <code>.py</code> file and select the 'Run' option, an 'Edit configuration' dialog opens where I can configure several options. The problem is that I cannot specify the Python interpreter, having to select it from a combo box of already configured Python SDKs. While there is no interpreter selected, there is an error message stating <strong><em>"Error: Please select a module with a valid Python SDK"</em></strong>. </p>
  
  <p>I managed to create Java modules for my project, but not Python ones (I do have the Python Community Edition plugin installed).Does anybody know how to achieve this?.</p>
  
  <p>TIA.</p>