pyNXT
PyNXT is a library and a console program for controlling via Bluetooth or USB the Lego Mindstorms NXT Brick. nxtConsole lets you upload, download and delete files from the NXT. With nxtProtocol you can make a program that uses the NXT Bluetooth protocol.