[Tutor] Interacting with Windows NT commads
Fri, 21 Jan 2000 06:07:00 -0800 (PST)
On Thu, 20 Jan 2000, ge0desic wrote:
D> I've been working through Learning Python and am looking to start putting
D> some of it into practice. I would like to start off by simplifying some
D> repetitive NT Admin tasks. In particular I want to interact with NT
D> command line commands. How do I call NT commands through Python?
Use the os module, probably os.system() and os.pipe() are most useful.
SPDS: Scramble PDS