os.system vs. Py2Exe

Michael P. Dubner dubnerm-news at mail.ru
Thu Oct 7 18:01:45 EDT 2004


Lad wrote:

>I used Py2exe to compile my script( I use XP).
>The compiled script works OK on my XP where Python is installed.
>But when I install the compiled exe to another computer,
> 
>os.system 
>
>causes the following  error:
>Bad file or command name
>
>Any help would be appreciated.
>Lad
>  
>
Check if
os.system('start /wait File.txt')
is working under Win9x.
It's for sure will work under WinNT+

--
Best regards,
Michael Dubner (dubnerm.at.mindless.com)





More information about the Python-list mailing list