Re: [Pythonmac-SIG] ImportError: No module named Foundation

2009-02-12 Thread Orestis Markou
Foundation is a Obj-C framework, you'll need PyObjC to get that. If you use Leopard, it's pre-installed in the system python. A quick check is this: >>>import objc If this works, 'import Foundation' should work. I've no idea how to install PyObjC on Tiger, unfortunately. Orestis -- ores...

[Pythonmac-SIG] ImportError: No module named Foundation

2009-02-12 Thread O Flores
Hi there, I am trying to run an script I found in http://codelemur.wordpress.com/2007/11/07/controlling-itunes-with-python-cross-platform/ The problem is that I get an error importing Foundation. Where is Foundation located and how can I include in the search path? Do I need to upgrade AppleScr