This week in Computer Science, we continued our examination
of Python. In particular, we studied
graphics. We used a graphics library to
draw a graph of the temperature and heat index.
Yay.
The phrase which most sums up the week is “from graphics import
*”. I forgot what this line did the
first time on a quiz, and later we used it in the lab. For clarity: this line imports the graphics
library and allows one to use its functions, like “import graphics”, but allows
one to- later in the program- write “draw.something” instead of
“graphics.draw.something”. I’m not even
sure the syntax with “draw” is correct; it’s astounding how quickly one forgets
the rules of syntax.
So we’re progressing, though I’m not sure how quickly. The pace has slowed down to one lab per two
class days. At the very least, though,
we’re undoubtedly learning something (Python) that we didn’t know before.