|Home My Faqts Contributors About Help|
|Entry||Add Entry Alert - Edit this Entry|
Jul 23rd, 2000 23:01
unknown unknown, Michael Hudson, Loren Poulsen
import commands print commands.__doc__ :-) ---------- Use os.popen() - RTFM. However, note that for Python 1.5.2 and before, os.popen often doesnt work on Windows - you need my win32 extensions for this, where win32pipe.popen() does the right thing. os.popen should reliably work on Windows in Python 2.0 and later.
© 1999-2004 Synop Pty Ltd