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" <mails.as...@yahoo.com.dmarc.invalid> 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','r...@example.com'] > > Please share your suggestions. > > Thanks, > Ashok > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers