Archive for category Python

Python, TkInter, OSX (OS X) and making it all behave

I use Python a lot. Python 2.5.1 to be specific. And inside Python is TkInter, which, with a little work, will give you a handy way to put a GUI together. But there are problems. To say that TkInter is poorly supported and poorly documented under OSX is to understate the case rather dramatically. So you’re left to Google for answers, and mostly, they aren’t to be found — or if they are, they aren’t obvious or easily found. So I’m going to provide some answers here that have taken me quite some time to collect, and hopefully keyword and title them so that a Google search will actually get you to the solution you need sooner rather than as much later as it did me!
Read the rest of this entry »

Tags: , , , , , , , , , , , , , , , , , , , ,

PD database

I’ve written a public domain (that means there are no restrictions on how you use it) database engine in Python. It is very small, about 20k, and it is a single class that will run without adding any other software, module, or technology.

There are presently two versions. The original handles ASCII and integer fields; the newest version, which I presently consider to be beta in that it has not been extensively tested, adds the ability to handle binary, extended character sets, and floating point numbers.

If this is of interest to you, you may learn more about it, and/or download it, on this page.

Tags: , , , , ,