How do I run an external system command on Windows?

Calvelo Daniel dcalvelo at pharion.univ-lille2.fr
Mon Sep 18 18:09:38 CEST 2000


noahspurrier at my-deja.com wrote:
: Does Python have something similar to Perl's "system" command or the ``
: (backtick operator)? This would preferably be something cross-platform.
: I need this to work on Windows NT Win2K) and UNIX (OpenBSD).

use 'os.system()'

: What gives? Even Java has a system call (java.lang.Runtime.exec()).
: Of course, I'm not advocating Perl's `` backtick operator. Oh no!

Oh, no!!!

HTH,DCA

-- Daniel Calvelo Aros
     calvelo at lifl.fr



More information about the Python-list mailing list