[Pythonmac-SIG] resetting up-arrow

2009-02-12 Thread DavidW
Hi all, In MacPython 2.5 (standard pkg install) I've lost the up-arrow function/scrollback function to '^[[A' Elegant as is is, it's not very friendly! I'm pretty sure it used to work. If I load macPython 2.4 (or vim or whatever) from the same shell, it behaves itself, so I'm guessing it's

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