how to run a DOS program without getting a box?

Richard Chamberlain richard_chamberlainREMOVE at ntlworld.com
Wed Jan 17 02:13:15 EST 2001


There is a file called pythonw.exe which is python without the command box.

Richard

Richard Dobson <rwd at cableinet.co.uk> wrote in message
news:3A64E195.ECA51312 at cableinet.co.uk...
> Hi all,
>
> I have tried both os.system() and the exec~ calls, and they all cause
> the Windows console to display when running a command-line program (in
> my case, to play a soundfile I don't need to see the screen messages).
> Is there a way to suppress this? Other languages, such as tcl/tk and GNU
> Octave manage this fine. I'm using Python 2.0 under Windows2000 (sp1),
> with IDLE.
>
>
> Richard Dobson
>
>
>
>
> --
> Test your DAW with my Soundcard Attrition Page!
> http://www.bath.ac.uk/~masrwd (LU: 3rd July 2000)
> CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 23rd February 2000)





More information about the Python-list mailing list