Re: [BangPypers] auto answer or auto input

2014-09-24 Thread Vivek Ramakrishna
Hi Ashok Have you looked at the pexpect module? It's like the expect utility in Unix, for programmatically driving interactive applications. http://pexpect.sourceforge.net/pexpect.html Vivek On Sep 24, 2014 8:28 PM, "Ashok K" wrote: > Hello, > > I am trying to write a python script which auto

[BangPypers] auto answer or auto input

2014-09-24 Thread Ashok K
Hello, I am trying to write a python script which auto accepts input from a dictionary/list. Sample: Enter your name: Enter email: The above two fields should be auto answer from a list a = ['Ram','r...@example.com'] Please share your suggestions. Thanks, Ashok