[Tutor] Calling web browser from Python

Brian van den Broek bvande at po-box.mcgill.ca
Mon Jun 20 10:32:43 CEST 2005


Andre Engels said unto the world upon 20/06/2005 04:26:
> Is it possible to call a web browser from Python, opening a certain
> page? Preferably the user's standard web browser.
> 
> Andre Engels
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
> 

IDLE 1.1.1
 >>> import webbrowser
 >>> webbrowser.open('www.google.ca')
 >>>

Best,

Brian vdB



More information about the Tutor mailing list