From: cmedcoff at my-dejanews.com (cmedcoff at my-dejanews.com)
Date: Fri, 23 Apr 1999 02:36:03 GMT
Subject: help with os.popen()
Message-ID: <7fomaj$oo9$1@nnrp1.dejanews.com>
X-UID: 558                                                  

Hello,

I'm new to python and need a bit of help with os.popen().  What is wrong with
the following? What am I doing wrong? (I'm running 1.52 on WinNT 4.0)

>>>import os
>>> p = os.popen("dir", "rt", 1024)
Traceback (innermost last):
  File "<pyshell#4>", line 1, in ?
    p = os.popen("dir", "rt", 1024)
OSError: (0, 'Error')
>>>


Regards,
Chuck

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




