open and shut case

Elaine Jackson elainejackson7355 at home.com
Sun Sep 26 12:55:48 EDT 2004


"Cameron Laird" <claird at lairds.us> wrote in message
news:nf1i22-7hd.ln1 at lairds.us...
| Did this [some snipped code] meet your needs, Ms. Jackson?

Here's what it does:

>>> import os, win32api
>>> pid = os.spawnlp(os.P_NOWAIT, "iexplore.exe",
"iexplore.exe",r"c:\blabla\hej.html")

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in -toplevel-
    pid = os.spawnlp(os.P_NOWAIT, "iexplore.exe",
"iexplore.exe",r"c:\blabla\hej.html")
AttributeError: 'module' object has no attribute 'spawnlp'





More information about the Python-list mailing list