Your search query "linkto%253A%2522MacPython%252FSafari%2522" didn't return any results. Please change some terms and refer to HelpOnSearching for more information.
(!) Consider performing a full-text search with your search terms.

Clear message

You can get the current URL of the current window from Safari with the following appscript:

import appscript
print appscript.app("Safari").windows.first.current_tab.URL()

Unable to edit the page? See the FrontPage for instructions.