Question:

How do I write a program in Python that opens the default web browser in Windows XP?

by  |  earlier

0 LIKES UnLike

The program would immediately start when the OS boots.

 Tags:

   Report

2 ANSWERS


  1. From the Python Mailing list: http://mail.python.org/pipermail/python-...

    simply create a python script with the following:

    import webbrowser

    webbrowser.open("Where ever you want to go")

    Additional Info:

    http://docs.python.org/lib/module-webbro...


  2. I don't know Python, but I've done it in C.  If it uses the DLL function the same way as C does, it's ShellExecuteCommand with the URL as its parameter, if I remember right.  Check it out online.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions