Posts tagged with pyobjc

Subscribe to the feed of posts tagged with pyobjc

So, my PyObjC introduction talk was accepted at EuroPython. The conference is held at Birmingham, UK, from 28th June to 4th July. My talk is scheduled for Wednesday, 1st July.

europython 2009

June 1, 2009, 8:42 p.m. More (281 words) 4 comments Feed

Key Value Coding or KVC is a very important part of Cocoa. Accessing these properties can be a kludge though - you have to use setValue_forKey_(value, key) and valueForKey_(key) which is quite verbose. Luckily, PyObjC has a nice shortcut: a single underscore.

March 31, 2009, 9:59 p.m. More (142 words) 1 comment Feed

As I mentioned some time ago, I'm now doing contracting. At my current project we need to get some more people on board. So if you're a Pythonista and want to work on exciting and challenging stuff for a couple of months (or more), read on!

March 26, 2009, 3:48 p.m. More (274 words) 1 comment Feed

I often exchange small snippets or links with my girlfriend, and it's been very annoying having to right click on iChat, select the correct account and start a chat. So I've automated it!

Here is a small PyObjC snippet that will allow you to send iChat messages from the command line, using the ScriptingBridge framework and a bit of elbow grease. The next step would be to make a wrapper for it so it can live a an icon on the Desktop, but I'll try that some other time.

November 7, 2008, 10:12 p.m. More (264 words) 1 comment Feed

I've been stumbled a bit just now, trying to populate an NSOutlineView from PyObjC.

Read on for my solution!

June 7, 2008, 9:16 p.m. More (387 words) 1 comment Feed

I'm planning to do a screencast for this, but knowing myself, I'll just put the code here in case I run off to a different direction tomorrow...

So, I present a very lightly annotated hello world app in PyObjC!

Download PyObjC tutorial (24 KB)

May 17, 2008, 12:07 a.m. More (175 words) 7 comments Feed

If you like Python and you like Mac OS X, you should really check out PyObjC.

It's a bridge that allows you to create first-class Cocoa applications using Python. It also has support from Interface Builder and XCode in Leopard and it's already bundled with Apple's Developer Tools!

Unfortunately, if you followed the above link, it doesn't seem there's a lot of stuff going on. The examples are outdated and there hasn't been any update since January.

This is a call to arms to help the project gain some better documentation, for the benefit of everyone involved.

May 15, 2008, 6:20 p.m. More (306 words) 6 comments Feed