Problem with popen with win98 (python 2.0)

Mike Callahan mcalla at home.com
Tue May 8 16:49:58 EDT 2001


What am I doing wrong?

import os
>>> os.popen('notepad')
Traceback (innermost last):
  File "<interactive input>", line 1, in ?
WindowsError: [Errno 2] The system cannot find the file specified
>>> os.popen('c:\\windows\\notepad.exe')
Traceback (innermost last):
  File "<interactive input>", line 1, in ?
WindowsError: [Errno 2] The system cannot find the file specified
>>>

Thanks for any help,

Mike






More information about the Python-list mailing list