I’m currently working on developing a working implementation of Python (and/or Pyrex) on the GC/Wii providing functionality via wrapping libogc.
Example:
""" Demo of using libogc in Pyrex """ # get stuff we need from C header files cdef extern from "Python.h": # embedding funcs void Py_Initialize() void Py_Finalize() void PySys_SetArgv(int argc, char **argv) # declare any other Python/C API functions we might need void Py_INCREF(object o) void Py_DECREF(object o) object PyString_FromStringAndSize(char *, int) object PyBuffer_FromReadWriteMemory(void*, int) cdef extern short wavefile[] # IMPORTANT - we need to explicitly prototype the function # 'init<mymodulename>()', where 'mymodulename' is the # filename this code resides in.
I wrote a webcam viewer/capture program similar to the Photobooth program in Mac OS X. Written in Python using GStreamer with EffectTV plugins, you can view your webcam and take pictures filtered through your choice of effects.
Find the source code on SourceForge.