Ivan Shevanski wrote: > Well, the thing is that I was just using changing directories as an > example for running a name specific command, is the <long winded reply > here> the only way to run name specific commands? An example would be > (what I am actually trying to do) run the simply command > mame s1945 > in the command line. MAME is, for those of you that care, the multaple > arcade machine emulator and the command runs the classic game strikers > 1945. I'm just trying to automate the tedious process of running it > through the command line. By the way, thanks to everyone who responded > I'm really getting along here.
So basically "os.system" would have done exactly what you wanted if you'd tried it on "mame" instead of using "cd", for reasons we've now covered. :-) -Peter -- http://mail.python.org/mailman/listinfo/python-list