<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Oct 3, 2007, at Oct 3:12:18 AM, kirby urner wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 10/2/07, Matt K &lt;<A href="mailto:matt.kameron@gmail.com">matt.kameron@gmail.com</A>&gt; wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The Tux things seems like a great idea too, and I think I'll grab one of</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">them. However, I still would very much like to do the RCX/NXT thing if at</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">all possible!</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">My advice (and I don't speak for anyone but me here):</DIV></BLOCKQUOTE><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Trying to make Python work with a Lego brick is too esoteric</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">to be worth your effort.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>you certainly don't speak for everyone.  ;)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have a very workable solution for both the RCX and the NXT, called pynqc (and pynxc) respectively, which you can find at </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://web.bryant.edu/~bblais/projects.html">http://web.bryant.edu/~bblais/projects.html</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>if you email me privately, I can make sure that you have the most recent version, and help you out on install, etc...  It's still a little rough on that side, and I am working on making a google project for it too, which will be more convenient.  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>basically, what it does is translate python code to nqc (not quite C, found here: <A href="http://bricxcc.sourceforge.net/nqc/">http://bricxcc.sourceforge.net/nqc/</A>), and then lets that do the translation and download to the robot.  The same for nxc, which works on the Mindstorms NXT.  This one is under serious debugging now, being run for my class that I teach right now, but I'd love to share it with others.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Kirby's right, in that writing to the RCX, or NXT, native format would be very hard.  It's easier to write to middle-ware, and let that tool take over.  In fact, nxc itself translates another language, nbc, in the background before compiling to robot byte code.  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>bb</DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- </DIV><DIV>Brian Blais</DIV><DIV><A href="mailto:bblais@bryant.edu">bblais@bryant.edu</A></DIV><DIV><A href="http://web.bryant.edu/~bblais">http://web.bryant.edu/~bblais</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>