[Pythonmac-SIG] Re: [Pyobjc-dev] missing method?
Dethe Elza
delza at livingcode.org
Wed Jan 5 07:19:58 CET 2005
You need to replace colons in the Cocoa method with underscores in
Python, so
[dictionaryWithContentsOfFile: @"/path"] // My ObjC may be off a bit,
but something like this
becomes
dictionaryWithContentsOfFile_(u"/path") # note underscore
--Dethe
As for intelligent machines taking over, a machine does not have to be
intelligent to conquer the world; it merely has to be desireable.
We've already lost a war to a synthetic species--the automobile--that
has killed more than 15 million people; occupied all of our cities
except Venice, Italy; and continues to exact crushing taxes in
resources, wealth, and time from over half the planet--and everybody
wants one. --Grant Thompson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2488 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20050104/7a62c382/smime-0001.bin
More information about the Pythonmac-SIG
mailing list