Re: [Pyobjc-dev] Need help diagnosing AttributeError
Brought to you by:
ronaldoussoren
|
From: Adam A. <ad...@at...> - 2009-04-17 00:12:49
|
On 16 Apr 2009, at 12:07, scott w wrote: > Hi -- > > In a python shell, I get the following error after trying to invoke > 'AppKit.NSPrintOperation.printOperationWithView': > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > AttributeError: No attribute printOperationWithView Use AppKit.NSPrintOperation.printOperationWithView_ (with the underscore at the end), since it takes an argument. |