How can I use NIST software in non-interactive way?

3976 views python

I am using NIST software as introduced here. This tool (written in C) has interactive mode. It gets an input file, asks user some questions about test type and parameters, and then runs the test. I want to run it on several files, so I want to automate the whole process in Python. Is there anyway to use this software in non-interactive mode?

For documentation and code:

answered question

1 Answer


You can automate interactive interfaces with pexpect, which is a python library for expect. expect is also an NIST product.

posted this

Have an answer?


Please login first before posting an answer.