I have a Python script that sends output to a DOS command window (I am using Windows 7) using the print() …