Modules and Getting HelpΒΆ




(chmod_01)

Here we are using Screen and Turtle, both of which are defined inside the turtle module.

The Python Documentation site for Python version 3 (the home page is shown below) is an extremely useful reference for all aspects of Python. The site contains a listing of all the standard modules that are available with Python (see Global Module Index). You will also see that there is a Language Reference and a Tutorial, as well as installation instructions, how-tos, and frequently asked questions. We encourage you to become familiar with this site and to use it often.

../_images/pythondocmedium.png

If you have not done so already, take a look at the Global Module Index. Here you will see an alphabetical listing of all the modules that are available as part of the standard library. Find the turtle module.

../_images/moduleindexmedium.png ../_images/turtlemodmedium.png

You can see that all the turtle functionality that we have talked about is there. However, there is so much more. Take some time to read through and familiarize yourself with some of the other things that turtles can do.

Note: Python modules and limitations with activecode

Throughout the chapters of this book, activecode windows allow you to practice the Python that you are learning. Many of the modules available in standard Python will not work in the activecode environment. In fact, only turtle, math, and random have been ported at this point.

Next Section - More About Using Modules