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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to