New submission from bbc:
The documentation page for the cmd module contains an example with the turtle
module:
https://docs.python.org/3.4/library/cmd.html#cmd-example
It seems like the turtle module has changed quite a bit since the code was
written, and exposes a Pen class instead of all
bbc added the comment:
It turns out the script is fine. I could have investigated it more thoroughly
at first if I had more carefully read the docs for turtle.
I thought those functions were not exposed because they were reportedly not
found after I copy-pasted, executed the example script