Introducing turtle

Chapter 1
Introducing turtle

In this book, you will use that hard-won knowledge to have some fun making some little applications while re-enforcing your knowledge and learning a few more tricks.

Python 3 comes with some great, ready-built modules some of which we have already used such as tkinter and random.

Another module we can use is turtle. This is an implementation of the turtle graphics part of a complete programming language called Logo which was created for educational use; schools often used it to drive a toy turtle around classrooms.

The commands available in Python’s turtle module are very easy to learn.

The fantastic thing about this Python module is that there is nothing new to install and we can combine the turtle commands with the Python language we have already learned.

In this chapter, you will learn how to:

  • import the turtle module 
  • make your turtle move around in all directions
  • change what the turtle looks like.


The original Logo programming language was developed 
by Daniel G. Bobrow, Wally Feurzeig, Seymour Papert and Cynthia Solomon in 1967.

沒有留言:

張貼留言