Accessing the CPU and retrieving information about itself is a fairly low-level task that requires a little assembly-fu. Something that Python isn’t geared to do out of the box. But it’s possible to get that information with C and hand it over to Python.
Had a few minutes today and updated the Concrete Calculators software. Some usability enhancements and automatic calculation of common bag sizes needed for a job. It’s a fun little pet project for me, one that I hope someone else out there gets some usefulness from.
Here’s another quickie I came up with for Grid controls – a ProgressCellRenderer. Will take a value in a cell and convert it to a progress gauge background in the cell. Also does a little formatting to add a % sign at the end of the value if it doesn’t have it. Useful for read-only cells that are updated from another data source or calculation, but can be manually edited also.
I still like to share solutions to problems that I’ve solved that maybe someone else out there may have encountered. And hopefully save them some time and banging of head against the wall. One of them was my need to develop a custom GridCellEditor control for wxPython for use with grids. Now you can select dates from within a grid cell without having to refer back to another calendar.
Fixed a few problems not recognizing win32com and pythoncom not being installed. Also fixed a fatal build error when using a Python version other than 2.5. It should now work with any version of Python.
This one is a little late. Pygame 1.9.1 has been released, hot on the heels of 1.9.0. One of the major fixes in both versions is better compatibility with py2exe, along with a couple other annoying things I’ve had to use workarounds for in the past.
In which I talk about Cymon’s Games and the inevitable slashdotting his site, and Retro Remakes took.
Pygame Package Builder 0.2 beta is now available. It is source-only at the moment (Python), and will probably remain that way until all of the bugs are worked out of it. So go download it and try it out for yourself!