[Pythonmac-SIG] Segmentation Fault with AppleScripting

Just van Rossum just at letterror.com
Fri May 30 21:28:53 EDT 2003


Martina Oefelein wrote:

> You can also do this without AppleScripting:
>          url = NSURL.URLWithString_("http://www.apple.com")
>          wsp = NSWorkspace.sharedWorkspace()
>          wsp.openURL_(url)

You can also do this without PyObjC:

  import webbrowser
  webbrowser.open("http://www.python.org/")

(as a bonus, this is cross-platform)

Just



More information about the Pythonmac-SIG mailing list