Altera_Forum
Honored Contributor
10 years agoInteracting with System-console from Python
I'm looking to make some integration with system console and Python 3.5 for a test that I'm running. What I would like to do is write some python that will use something like "subprocess" to bind to the system-console command line interface then write commands into stdin and read results out of stdout.
I've found a few resources but have not been able to figure things out quite yet. I think that some active user here on the forum have experience with this. For example the user jksfiftyfive55 I think is the original author of the Stack Overflow question. http://www.alteraforum.com/forum/archive/index.php/t-48504.html and http://stackoverflow.com/questions/30133357/python-subprocess-popen-stdin-write/34776311#34776311 Thanks in advance, I will update if I figure anything more out.