Hi,<br><br>I am trying to learn Python and have no prior programming experience. My problem is that I am trying to call an .exe through Python, the exe gives certain information about a file when I simply type it at the command prompt, something like C:> getinfo C:\Singh\abc.bcd and it displays the information about
abc.bcd in the command window. I am trying to do the same thing through Python ( i downloaded it from activestate)<br><br>Here is what I tried :<br><br>import os<br>file1 = r 'C:\Program Files\Tools1\bin\getinfo.exe' 'C:\Singh\abc.bcd'
<br>os.system(file1)<br><br>What it does is that opens and closes the command window really fast and displays a value of 1 in the interpreter. How can I get python to display the results in the interactive window or what is the right way to do this.
<br><br>thanks in advance,<br><br>Singh<br><br><br><br>