[Python-de] Re: AW: Antwort: Re: microsoft explorer+python
Gerhard Häring
gerhard.haering at opus-gmbh.net
Wed Oct 23 10:55:25 EDT 2002
Josef Cihal <josef.cihal=QejgLEES/+Q at public.gmane.org> [2002-10-23 09:09 GMT]:
> 1. ist webbrowser includiert in 1.5.3 version?
>
> 2. wo ist Problem?
> path =r"d:\programme\Microsoft Internet Explorer\IEXPLORE.EXE"
> a = "www.google.de"
> os.execv(path, a)
>
>>>Traceback (innermost last):
> File "<stdin>", line 1, in ?
> TypeError: illegal argument type for built-in operation
RTFM:
>>> help(os.execv)
Help on built-in function execv:
execv(...)
execv(path, args)
Execute an executable path with arguments, replacing current process.
path: path of executable file
args: tuple or list of strings
-- Gerhard
More information about the Python-de
mailing list