Skip to main content

LEGO Mindstorms NXT Control Package

Project description


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 has been tested on Windows as well.
Releases halted in May 2007.

NXT-Python is based on NXT_Python, but is significantly newer, and, as time
goes on, different/better. This is NXT-Python.

For support, you can ask on the mailing list at:
You can report bugs to the bug tracker here:

Note: NXT-Python has not been tested and may not work with
custom nxt firmware versions (if you don't know what that means, you don't
need to worry about it).


* Python 2.6 (
* PyBluez (Bluetooth library) (
and / or
* PyUSB (USB library) (


* Untar/unzip source package
* In package directory, run "python install" (as root), or if
under windows, copy the nxt folder to the site-packages
directory in your python installation.
* For USB on Linux, at a root terminal type:
groupadd lego
usermod -a -G lego [username]
echo 'BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"' > \

NXT_Python's Author:
Douglas P Lau (
NXT-Python's Developer:
Marcus Wanner (

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions (29.9 kB view hashes)

Uploaded source

nxt-python-1.2.0.tar.gz (18.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page