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" <[email protected]> wrote: > 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','[email protected]'] > > Please share your suggestions. > > Thanks, > Ashok > _______________________________________________ > BangPypers mailing list > [email protected] > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list [email protected] https://mail.python.org/mailman/listinfo/bangpypers
