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 ... [php]import webbrowser # you have to be connected to the internet # supply a URL of your choice webbrowser.open('http://www.python.org/') [/php]
The following little Python code will bring up your default webbrowser and connect it to the given URL ... [php]import webbrowser
# you have to be connected to the internet # supply a URL of your choice webbrowser.open('http://www.python.org/') [/php]
You can also look at os.system() and the subprocess module.
Worked great, thanks for the info! :D