Starting out in python we will look at the Turtle module in Python. It's and fun and easy to get up and running.

To program Turtle Python you will need to use Idle.

It's a free lightweight python editor and compiler. https://www.python.org/downloads/ (Links to an external site.)

Once you doanload idle open it and create a new file. Type in the code below and then select RUN --> Run Module.

You should see a short line appear on the screen. This is the turtle going 50 pixels in the forward direction. Yay!

   
# Step 1: Make all the "turtle" commands available to us. import turtle # Step 2: Create a new turtle. We'll call it "bob" bob = turtle.Turtle() # Step 3: Move in the direction Bob's facing for 50 pixels bob.forward(50) # Step 4: We're done! turtle.done()