Hey guys, I'm just about done with a program and I need to know how to launch an IE window (or any browser I suppose) from the command prompt. Can anybody help me? thanks!:cheesy:

Will this work?

The following little Python code will bring up your default webbrowser and connect it to the given URL ...

import webbrowser

# you have to be connected to the internet
# supply a URL of your choice
webbrowser.open('http://www.python.org/')

You can also look at os.system() and the subprocess module.

Worked great, thanks for the info! :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.