I have some problem In my app , I want to use "appscript" .
I use easy_install appscript , and it works well in my python script. But when I build a Mac app in xcode , an error appears. >>> from appscript import app , k ImportError: No module named appscript >>> Then I copy the appscript folder direct from "/Library/Python/2.6/site-packages/appscript-0.21.1-py2.6-macosx-10.6-universal/" to the app's Resources folder. and I also copy aem mactypes.py osax.py And it appears: "ImportError: Bad magic number in /Users/Kebot/git/Giraffa/build/Debug/Giraffa.app/Contents/Resources/appscript/__init__.pyc" Forgive my poor English. -- Blog: http://kebot.me/ More About Me: http://about.me/yaofur/
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG