how to startup the default web browser to open a url?

F

flyaflya

I want to startup the default web browser(ie...) to open a url, "execl"
can open a process, but when the process exit, the other process will
exit too, has any why to deal this problem?
 
E

erinhouston

flyaflya said:
I want to startup the default web browser(ie...) to open a url, "execl"
can open a process, but when the process exit, the other process will
exit too, has any why to deal this problem?

You can do this with the win32aip module found in win32all
Home page
http://starship.python.net/crew/mhammond/win32/Downloads.html
files
http://sourceforge.net/project/showfiles.php?group_id=78018
example:
.....import win32api
.....a = win32api.ShellExecute(0,None,"www.ishpeck.net",None,None,1)

Hope that is of help

Erin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top