title: Use pipe to send command into python interpreter
body: <p>I would like to create an application on windows (in any languages, there is no restrictions) where you could write some commands, send them into a python interpreter and get the result. Therefore, I immediately think of using pipes. But I have a problem, I know how to get file descriptor of subprocess, but not of an application like python.</p>
  
  <p>Is there a way of getting the file descriptor of a subprocess like python interpreter?</p>