En Thu, 01 Feb 2007 19:57:59 -0300, Kiran <[EMAIL PROTECTED]> escribió:

>   I am making python run an executable using the os module.  Here is
> my question.  The executable, once it is running, asks the user to
> input a filename that it will process.  Now, my question is how do i
> automate this.  let me make this clear, it is not an argument you pass
> in when you type in the exe.  An example below illustrates:

You can use the subprocess module, or any of the Popen2 variants. Usually  
they work fine - but depending on how the application behaves, it may not  
work.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to