I need to read out the text from a cmd prompt window (which updates every second) in my Python program. I'm using Windows 7. Anyone have an idea how to do this?
edit:
I didn’t explain it very well. The cmd prompt is already open and I need to read out everything it prints. I have to "link" my Python program to the command prompt.
while True: print(open("CON:").read())