![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRE: Open the command line within a script
From: Tim Golden <tim.golden@viacom-outdoor.co.uk>
Date: Thu Jun 30 2005 - 16:26:51 CEST
[Ivan Shevanski]
(Assuming you're on Windows from your reference to COM).
<code>
shell = os.environ['COMSPEC']
os.system (shell)
</code>
TJG
________________________________________________________________________
|