[Pythonmac-SIG] webbrowser.py

Joe Heafner heafnerj at vnet.net
Sat Jul 19 12:00:20 EDT 2003


Hi.
I'm running Python2.2 as supplied by the Fink project. I need Python so 
I can use VPython (http://www.vpython.org) for the physics courses I 
teach. My Macs run OS X 10.2.6 and Apple's X11 Beta 3. VPython comes 
with IDLE_fork as a programming IDE. The VPython folks suggested I post 
my query here.

The problem is webbrowser.py. In IDLE_fork, pressing F1 is supposed to 
bring up documentation. It works under Windows but not under OS X. The 
problem seems to be that webbrowser.py doesn't know how to bring up the 
default browser under OS X. I use Safari 1.0. I've searched through 
various archives and have found nothing, at least nothing that I can 
claim to understand and I've certainly seen no mention of Safari. So, 
my two questions are as follows:

1) Can someone please tell me how to get webbrowser.py working under OS 
X?

2) What advantages, if any, would MacPython have over the more 
unix-style Python supplied by Fink, and would the Visual module work 
under MacPython?

Cheers,
Joe Heafner

-----
<http://www.donotcall.gov/> Use it! Be sure to complain about having to 
re-register every five years and about the fact that political 
fundraisers are exempt!




More information about the Pythonmac-SIG mailing list