nxt_rubyのページ? †nxt pythonのインストールと、設定ファイル?の追加、ヘルプコマンドの実行結果 †>su - >python setup.py install running install running build running build_py creating build creating build/lib creating build/lib/nxt copying nxt/usbsock.py -> build/lib/nxt copying nxt/locator.py -> build/lib/nxt copying nxt/sensor.py -> build/lib/nxt copying nxt/error.py -> build/lib/nxt copying nxt/direct.py -> build/lib/nxt copying nxt/compass.py -> build/lib/nxt copying nxt/__init__.py -> build/lib/nxt copying nxt/motor.py -> build/lib/nxt copying nxt/brick.py -> build/lib/nxt copying nxt/system.py -> build/lib/nxt copying nxt/bluesock.py -> build/lib/nxt copying nxt/telegram.py -> build/lib/nxt running build_scripts creating build/scripts-2.5 copying and adjusting scripts/nxt_push -> build/scripts-2.5 copying and adjusting scripts/nxt_test -> build/scripts-2.5 copying and adjusting scripts/nxt_filer -> build/scripts-2.5 changing mode of build/scripts-2.5/nxt_push from 644 to 755 changing mode of build/scripts-2.5/nxt_test from 644 to 755 changing mode of build/scripts-2.5/nxt_filer from 644 to 755 running install_lib creating /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/usbsock.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/locator.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/sensor.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/error.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/direct.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/compass.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/__init__.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/motor.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/brick.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/system.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/bluesock.py -> /usr/lib/python2.5/site-packages/nxt copying build/lib/nxt/telegram.py -> /usr/lib/python2.5/site-packages/nxt byte-compiling /usr/lib/python2.5/site-packages/nxt/usbsock.py to usbsock.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/locator.py to locator.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/sensor.py to sensor.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/error.py to error.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/direct.py to direct.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/compass.py to compass.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/__init__.py to __init__.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/motor.py to motor.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/brick.py to brick.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/system.py to system.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/bluesock.py to bluesock.pyc byte-compiling /usr/lib/python2.5/site-packages/nxt/telegram.py to telegram.pyc running install_scripts copying build/scripts-2.5/nxt_push -> /usr/bin copying build/scripts-2.5/nxt_filer -> /usr/bin copying build/scripts-2.5/nxt_test -> /usr/bin changing mode of /usr/bin/nxt_push to 755 changing mode of /usr/bin/nxt_filer to 755 changing mode of /usr/bin/nxt_test to 755 running install_egg_info Writing /usr/lib/python2.5/site-packages/NXT_Master-0.7.egg-info >cat /etc/udev/rules.d/70-lego.rules BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660" >python >>>import nxt.locator >>>help(nxt) Help on package nxt: NAME nxt FILE /home/test/nxt_python-0.7/nxt/__init__.py DESCRIPTION # nxt.__init__ module -- LEGO Mindstorms NXT python package # Copyright (C) 2006 Douglas P Lau # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. PACKAGE CONTENTS bluesock brick compass direct error locator motor sensor system telegram usbsock http://forums.nxtasy.org/index.php?showtopic=2054&mode=linearplus |