As usual, read through the chapter (8) and try out the author's code. Try not to skip over the narrative sections just to get to the Do This: parts, because those sections contain some very important information about Python (and programming languages in general) that we will be discussing next week. The author doesn't mention it until page 163, but the Myro library does not contain everything you need for graphics; you will also have to use the Graphics library. So the first thing you should do after launching Calico is to enter the following commands into the Shell:
from Myro import * from Graphics import *Other notes:
song = makeSong("c 1; g 1/4; a 1/2; e 3/4;") computer.playSong(song)
If you have time after that, a very cool project to try would be writing a little simulator for the Scribbler robot. The circle-animation program on p. 167 would be a good place to start, because it shows how to simulate bouncing off a wall. Ultimately such a simulator would be able to implement all the Scibbler functions like move() and getObstacle(), but for the time being you could just implement a single function like move(), testing the behavior of your simulator against your actual Scribbler.