How do I run an external system command on Windows?

Calvelo Daniel dcalvelo at
Mon Sep 18 18:09:38 CEST 2000

noahspurrier at 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!!!


-- Daniel Calvelo Aros
     calvelo at

More information about the Python-list mailing list