123456789101112131415161718192021222324252627 |
|
wait, your first version did:
https://gist.github.com/3019988
This one is giving me this error:
Traceback (most recent call last):
File "selfspy.py", line 4, in
from Foundation import NSApplication, NSObject, NSLog
ImportError: cannot import name NSApplication
NSApplication should be imported from AppKit (or Cocoa) rather than Foundation since that's where it is defined.
How did all these people suddenly see my gist?
Anyway, can you guys see if things work after the latest update (on advice from @bdash) ?
I am not sure how to see what version of PyObjC you are using. I am using Python2.7 and head from https://bitbucket.org/ronaldoussoren/pyobjc/