This has been a recurring, strange issue for me when accessing URLs using py-appscript, first in Safari and now in Chrome.
Whenever I run the script command to get the current URL in the terminal, for example,
appscript.app("Google Chrome").windows.active_tab.URL()
a bouncing instance of the "Python" application appears in the Dock. I have verified that this "Python" application is found in:
/Library/Frameworks/Python.framework/Versions/2.6/Resources
How do I get the current URL without this thing popping up?