os.system

Austin austin at maxtronic.com.tw
Mon Jun 13 00:17:53 EDT 2005


>> My code is "  os.system("NET SEND computer hihi") "
>> i use this funtion on Windows server 2003.
>> it's ok.
>>
>> But the same code running on Windows XP SP2, it shows the command window
>> twice.
>> How do i remove the command window?
>
> Hi,
>
> You can remove the command window which comes
> from python if you use ".pyw" as extension.
> This is not an answer why the system method
> opens a second window, but maybe it helps, too.
>
> Thomas
>

Hi, but my program is complied from py2exe.
All extension is 'pyd'.
Hm... is there any way to do? 





More information about the Python-list mailing list