473,545 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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?
Jul 19 '05 #1
2 1545
flyaflya wrote:
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 want the 'webbrowser' module.

http://docs.python.org/lib/module-webbrowser.html

Will McGugan
--
http://www.willmcgugan.com
"".join({'*':'@ ','^':'.'}.get( c,0) or chr(97+(ord(c)-84)%26) for c in
"jvyy*jvyyzptht na^pbz")
Jul 19 '05 #2


flyaflya wrote:
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/mham...Downloads.html
files
http://sourceforge.net/project/showf...group_id=78018
example:
.....import win32api
.....a = win32api.ShellE xecute(0,None," www.ishpeck.net ",None,None ,1)

Hope that is of help

Erin

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3041
by: Douglas Buchanan | last post by:
Buttons don't work if form is opened on startup A2k If 'frmMain' is set to open by default at startup none of the buttons work. If 'frmMain' is opened from the database window then all the buttons work. The form's name ('frmMain') is selected from in the Startup dialog box.
9
4903
by: Harry Smith | last post by:
While reading the documentation on IsStartupScriptRegistered, there is a reference to "client startup script" as "Determines if the client startup script is registered with the Page object." What is meant by "Client Start Script"? Thanks, Harry
2
1343
by: shumaker | last post by:
I am putting a key for my application to run at startup in SOFTWARE\Microsoft\Windows\CurrentVersion\Run My goal is to allow individual users to toggle this on and off, so I was placing the key under CurrentUser. However, I want the program to default to starting up for the user the first time any user logs in after it is installed. In...
2
2432
by: David | last post by:
Hi All: Here's what may be a confusing question. I have an application which has a basic help window that is attached to a Windows application. It uses IE objects to render html text. The user isn't aware that the basic help window is an IE window since it has no controls on it. Within that window, however, are links to "advanced help"...
0
7415
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7928
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4963
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1902
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.