[Edu-sig] Interesting thread...

kirby urner kirby.urner at gmail.com
Fri Aug 3 19:24:34 CEST 2007


> Easier for computer lab use, a stationary bot.
>
> import tux
> tux.cmd.lefteye_open()
> tux.rotate_on_butt(3)  # quarter turns
>
> stuff like that.


Adding some crunchy realism, since I have said droid connected to this
Ubuntu Dell:

Python 2.5.1 (r251:54863, May  2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('/home/kirby/tuxsetup-1.0-final/tuxdroid/doc/examples')
>>> sys.path.append('/home/kirby/tuxsetup-1.0-final/tuxdroid/api/python')
>>> import tux
CONNECTED to tuxd
CONNECTED to tuxttsd
>>> tux.cmd.eyes_close()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'cmd'
>>> from tux import *
>>> tux.cmd.eyes_close()
>>> tux.cmd.eyes_open()
>>> tux.cmd.soundtest()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'TUXcmd' object has no attribute 'soundtest'
>>> tux.cmd.sound_test()
>>> tux.tts.speak("Hello World!")
True
>>>


Alonso Church et al?
>
> "Guido is a lamba hater" someone warns.


Not so fast ... <http://lambda-the-ultimate.org/node/1840#comment-22427>

Chris, You had better nix the 'lambda's -- Guido is a lambda
hater<http://www.artima.com/weblogs/viewpost.jsp?thread=98196>.
;-)
By Rick Hanson <http://lambda-the-ultimate.org/user/3538> at Mon, 2006-11-20
00:06 | login <http://lambda-the-ultimate.org/user/login> or
register<http://lambda-the-ultimate.org/user/register>to post comments



Reminds me of pleasant chats in greener pastures with
> Tim Peters, about "little lambda" (Kirby:  "we like our
> lambdas little, make do sans the big woolly Scheme
> sheep").
>
> Kirby
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/edu-sig/attachments/20070803/439b6061/attachment.html 


More information about the Edu-sig mailing list