[Tutor] Calling DOS Programs

ak@silmarill.org ak@silmarill.org
Thu, 21 Jun 2001 01:32:27 -0400


On Wed, Jun 20, 2001 at 08:56:15PM -0700, Michael Bacayo wrote:
> I need help!
> I want to know how to call a DOS program with the
> arguments from within a Python program. Exec* and
> spawn* doesn't seem to work at all or sometimes it
> generates an OSError file or program not found.

os.system('dos program here')

> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

-- 
Jupiter and Saturn Oberon Miranda
And Titania Neptune Titan
Stars can frighten
        - Syd