Jul 02, 2009 02:01
I've spent the day messing around in Python, with the goal of trying to put a 'smart' text file viewer together. It's been.. stop and go?
I've been trying to use wxPython. These are the Python bindings for wxWindows, this really nifty cross-platform UI toolkit that I've been meaning to check out for forever. All macs appear to come with version 2.8.4.0, which isn't exactly the latest these days, but after figuring out how much effort it takes to update it to a more recent version, I've decided I'm not gonna complain too loudly. (I also discovered how much of a pain it is to track down decent documentation for some of the more esoteric and useful classes in wxPython, but that's another story..)
After further toying around, I decided I needed a slightly more specialized editor than Xcode to play with. Smultron wasn't giving me the autocomplete I was craving, so I gave Editra a shot. It's actually quite nice, albeit a bit slow whenever that autocomplete drop-down appears. The annoying thing is that it seems to have trouble with modules within modules: While it will autocomplete wx.Frame perfectly fine and tell me its arguments, it gets completely choked up on wx.html.HtmlWindow. This sucks for me, because samples and examples with the latter are much harder to come by than with the former.
So now I've been giving SPE a go, and it's complaining that I don't have PyChecker and PyChecker2 installed. I tracked down the former relatively easily (and even got past sourceforge sending an html file instead of the source tarball; thanks, guys.) but a quick search of the web tells me that finding a source for the latter ain't gonna be so easy.
At this point, I have half a mind to go ahead and try Eclipse with the Python plugins. Problem is, the other half of my mind remembers how much I detest working with molasses-slow Java UIs.. sigh
programming