http://home.comcast.net/~dplau/nxt_python/index.html
NXT_Python is a package for controlling a LEGO NXT robot using the Python programming language. It can communicate using either USB or Bluetooth. It is available under the Free Software Foundation’s GPL license. It was developed on Fedora Core (Linux), but it has been reported to work on Windows XP and Mac OS X as well.