[Pyobjc-dev] Constant not found
Brought to you by:
ronaldoussoren
From: Tobias W. <mk...@to...> - 2010-02-23 11:48:13
|
Hi, using the Python and PyObjC that came with Snow Leopard, this works fine: from Foundation import * NSURL.URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( mydata, (1 << 8), None, None, None) But I'd rather use the named constant NSURLBookmarkResolutionWithoutUI, only I'm getting NameError. I found a suggestion to import * from AppKit, but that doesn't help: http://sourceforge.net/mailarchive/message.php?msg_id=d2jvrn%24d9f%241%40sea.gmane.org |