title: entering console inputs from within python file
body: <p>In my python file, I have made a GUI widget that takes some inputs from user. I have imported a python module in my python file that takes some input using raw_input(). I have to use this module as it is, I have no right to change it. When I run my python file, it ask me for the inputs (due to raw_input() of imported module). I want to use GUI widget inputs in that place.
  How can I pass the user input (that we take from widget) as raw_input() of imported module?</p>